[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] kernel profiler



On Fri, Dec 17, 1999 at 11:33:22AM +0530, Sharad Joshi wrote:
> Hiyo,
> 
> Dunno how many times this has been asked, but could not find anything in 
> the archieves. Is there any kernel profiler available for linux. Does
> anyone knows of the status of 'ktrace' thing. Where can i get a hold of
> it?

Here's the patch you're looking for:

http://oss.sgi.com/projects/linuxsgi/download/patches/kernprof.patch

There is some primitive profiling support in the official kernel.
Grep for x86_do_profile. You enable it with a LILO argument and 
get the profile data from /proc.

FreeBSD has this in the official kernel.

	-Arun
--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.