kernprof
[Top] [All Lists]

Re: questions on /dev/profile device

To: John Hawkes <hawkes@xxxxxxxxxxxx>
Subject: Re: questions on /dev/profile device
From: Ray Bryant <raybry@xxxxxxxxxxxxxx>
Date: Tue, 09 Jan 2001 10:10:36 -0600
Cc: Shirley Ma <xma@xxxxxxxxxx>, kernprof@xxxxxxxxxxx
References: <OF200F2A06.BE861D60-ON872569CF.0006017E@LocalDomain> <01ee01c079df$564f9d60$6401a8c0@xxxxxxxxxxxxxxxxxxxx>
Sender: owner-kernprof@xxxxxxxxxxx
Shirley,

My guess is that you did not enable "kernel profiling" under the character 
devices tab in xconfig.  You need to enable this to
provide a handler for the /dev/profile device you built using makenod.

John Hawkes wrote:
> 
> > 1)   I have installed v2.4.0-test11 kernel to my PC, and applied patch
> for
> > kern profiling, and recomplied the kernel. Kernel was sucessfully
> rebooted;
> > /dev/profile device was created as major 192, minor 0. When I run
> kernprof
> > command it complained " /dev/profile: No such device". I followed the
> > instruction posted on web.
> 
> Curious.  Perhaps it's a permissions problem?  My node says:
>   crw-r--r--    1 root    root    192,    0
> 
> > 2)   If I run the most recent v2.4.0 kernel, do I need to download the
> > corresponing patch, or it's OK to use any patch for v2.4.0-testxx?
> 
> I haven't produced a 2.4.0 kernel patch yet.  I don't know of any
> semantic incompatibilities in kernprof between the last available testxx
> patch and v2.4.0.  The last available patch is against test11.  There
> may be some patch failure that require some manual fixups.
> 
> John Hawkes

-- 

Best Regards,

Ray Bryant
IBM Linux Technology Center
raybry@xxxxxxxxxxxxxx
512-838-8538
http://oss.software.ibm.com/developerworks/opensource/linux

We are Linux. Resistance is an indication that you missed the point.

"...the Right Thing is more important than the amount of flamage you need
to go through to get there"
--Eric S. Raymond

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