From: "xlbest" <xlbest@xxxxxxx>
> 4> edit lilo.conf and " mknod /dev/profile c 192 0 "
>
> 5> reboot and entrying into the new kernel with kernprof patch and load
kernprof
>
> 6> # kernprof -b cg
> system show " /proc/profile : No Such file " (Attention: Being
/proc/profile ,Not /dev/profile) There are not /proc/profile in dentry of
/proc and the dentry created force don't be accecped by system . The gcc of
version is 3.2.2 in my PC .So there is no need for patching gcc.
> Please help me ,Thank you !!!
What are you editing lilo.conf to do? Kernprof needs no lilo.conf editing.
Kernprof (in a 2.4 kernel) is *not* the same as the standard "readprofile"
functionality, which does want you to boot the kernel with "profile=2".
Kernprof uses /dev/profile and /proc/profile/* files (the latter being
'created' by the kernel). Kernprof does not use /proc/profile.
See http://oss.sgi.com/projects/kernprof/faq.html
John Hawkes
|