Hi,

On Wed, Mar 29, 2000 at 02:51:55PM -0800, Dunlap, Randy wrote:
> 
> > Is there any such thing as a profiler that can be used within kernel
> > modules?
> 
> I thought that I had some references to several profiling
> tools, but all that I can find are
> 
> . gprof (man gprof)
> . Tau (just saw this, don't know anything about it;
>   http://www.cs.uoregon.edu/research/paracomp/proj/tau/ ;
>   it may be more for apps/userspace than kernel drivers)

For simple profiling of where the kernel is spending its time, just
boot the system with the kernel option "profile=2", then use
readprofile to extract profiling information.  You can reset the
profiling stats before a benchmark run with "readprofile -r".

--Stephen

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to