Dear Sir,
I have patched profile-0.7 on linux kernel 2.4.0-test5.
It's fine to run all the initial kernel at boot time.
But there are some problems with kernprof program;
When I type "kernprof -b -t <mode>" with
(1)kernprof-0.8-1
[root@abc /]# kernprof -b -t cc
kernprof: kernel does not support call count mode
[root@abc /]# kernprof -b -t ct
kernprof: kernel does not support call backtrace mode
(2)kernprof-0.8-2
Unable to handle kernel NULL pointer dereference
(then the system have no response)
the other problem is:
(3)kernprof-0.9
[root@abc kernprof]# make
gcc -c -O2 -fomit-frame-pointer -I/usr/include kernprof.c
kernprof.c:39: linux/tasks.h: No such file or directory
make: *** [kernprof.o] Error 1
(Is there any relation with SMP?)
What's the problem ?
I'm sure enable the PROFILING, FRAME_POINTER, M_COUNT options;
and have created the character special device /dev/profile.
Thanks,
Hendra W
----------------------------------
Download ICQ at http://www.icq.com
|