From: Gabe Black Date: Wed, 8 Nov 2006 01:35:42 +0000 (-0500) Subject: A cleaner hack. X-Git-Tag: m5_2.0_beta2~53^2~22^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eb7c923e10cfb60f216d7452d94b0fd0b237c38f;p=gem5.git A cleaner hack. --HG-- extra : convert_revision : 8992af33f2779a8d9dc357e648ba39005d0c971a --- 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