Re: kernel profiling

Andrea Arcangeli (andrea@suse.de)
Fri, 9 Jul 1999 15:31:22 +0200 (CEST)


On Thu, 8 Jul 1999, Robert Walsh wrote:

>Other than /dev/profile, is there any mechanism available for
>profiling the kernel? For example, has anyone implemented a
>__mcount() function to handle a kernel compiled with -pg, or is this
>even possible?

Yes I just developed that. You'll continue to use readprofile and
/proc/profile but what you'll get is the real profiling numbers via
mcount.

Grab the IKD patch:

ftp://ftp.suse.com/pub/people/andrea/ikd/

There's the 2.2.x versions only since I had not need of it into 2.3.x (yet
:). Anyway the porting should be trivial playing a bit with rejects.

Andrea

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/