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

Re: [LI] kernel profiler



On Thu, 16 Dec 1999, Arun Sharma wrote:

+ On Fri, Dec 17, 1999 at 11:33:22AM +0530, Sharad Joshi wrote:
+ > 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
+ 
+ Here's the patch you're looking for:
+ http://oss.sgi.com/projects/linuxsgi/download/patches/kernprof.patch

Thanks Arun. But the compiler patch link mentioned in this page is dead.

+ 
+ 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.
+ 

That argument is profile=2 or something i suppose, no? Thats how the
program i have works. It reads from /proc/profile. But i dunno how the
/proc/profile is arranged. Any info on that?

Sharad.

--------------------------------------------------------------------
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.