Re: Kernel profiling

Andrea Arcangeli (arcangeli@mbox.queen.it)
Tue, 11 Aug 1998 19:44:08 +0200 (CEST)


On Mon, 10 Aug 1998, Mike wrote:

>The option has disappeared from menu config.
>
>I know it didn't work (or at least, not last time I tried it) but is this
>a permanent ommision or a mistake?

There are not sensitive performance penalities removing the CONFIG_OPTION.
Linus removed it in latest kernels (I think because the code is more clean
without #ifdefs). To enable it use the kernel parameter profile=4.

If you are interested in real profiling (accounting _all_ functions run by
the kernel, not only the one running at timer interrupt time, and so the
one that run with interrupt enabled) apply my latest port of patch-ikd
against 114 that include my real profiling hack:

ftp://e-mind.com/pub/linux/kernel-patches/

Andrea[s] Arcangeli

-
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.altern.org/andrebalsa/doc/lkml-faq.html