kernprof
[Top] [All Lists]

Re: /proc/profile :No such file

To: "xlbest" <xlbest@xxxxxxx>, <kernprof@xxxxxxxxxxx>
Subject: Re: /proc/profile :No such file
From: "John Hawkes" <hawkes@xxxxxxx>
Date: Wed, 25 Feb 2004 08:30:50 -0800
References: <403C95B4.00000C.24213@bj214.163.com>
Sender: kernprof-bounce@xxxxxxxxxxx
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


<Prev in Thread] Current Thread [Next in Thread>