kernel profiler in 2.5.
The kernel profiler broke quite some time ago. It's actually
a problem with readprofile(8). It doesn't like the weak
symbols in System.map:
c011fb04 T notifier_call_chainc011fb44 T register_reboot_notifierc011fb5c T unregister_reboot_notifierc011fb74 T sys_ni_syscallc011fb74 W sys_acctc011fb74 W sys_quotactlc011fb80 t proc_selc011fc28 T sys_setpriority
Here's a quick fix. There are probably smarter ways...
readprofile.c renamed from readprofile.c.orig +2 -1
@@ -267,7 +267,8 @@/* ignore any LEADING (before a '[tT]' symbol is found) Absolute symbols */ if (*mode =='A' && total ==0 )continue ; -if (*mode!='T' && *mode!='t' )break ;/* only text is profiled */ +if (*mode!='T' && *mode!='t' && *mode!='w' && *mode !='W' ) +break ;/* only text is profiled */ if (indx >= len /sizeof (*buf)) { fprintf(stderr, _("%s: profile address out of range. "
And now HZ has been set to 1000, the resolution is awfully good. The `-M' multiplier thing we added is overkill now.
-