From eb7c923e10cfb60f216d7452d94b0fd0b237c38f Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 7 Nov 2006 20:35:42 -0500 Subject: [PATCH] A cleaner hack. --HG-- extra : convert_revision : 8992af33f2779a8d9dc357e648ba39005d0c971a --- src/kern/base_kernel_stats.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/kern/base_kernel_stats.cc b/src/kern/base_kernel_stats.cc index 84a38aca5..d29672753 100644 --- a/src/kern/base_kernel_stats.cc +++ b/src/kern/base_kernel_stats.cc @@ -98,12 +98,15 @@ Statistics::regStats(const string &_name) .flags(total | pdf | nozero | nonan) ; + //@todo This needs to get the names of syscalls from an appropriate place. +#if 0 for (int i = 0; i < SystemCalls::Number; ++i) { - const char *str = "Please fix me";//SystemCalls::name(i); + const char *str = SystemCalls::name(i); if (str) { _syscall.subname(i, str); } } +#endif } void -- 2.30.2