Re: kernel api for application profiling

From: James Courtier-Dutton (jcdutton@users.sourceforge.net)
Date: Sun Oct 13 2002 - 21:45:53 EST


John Levon wrote:

>I agree that it doesn't make sense to split up the resources (though at
>some point I'd like to maintain the watchdog functionality even with
>oprofile running). In fact, for now, I think the simple exclusive CONFIG
>solution is the simplest - the things don't get on together, after all.
>
>regards
>john
>
>
Speaking as the potential user of these tools, having to run a different
kernel (My translation of exclusive CONFIG) to swich these features on
and off would be annoying. I would prefer the simple loading/unloading
of a kernel module to do the job. Having looked at a fair bit of kernel
module code, I at first think that the kernel module api cannot achieve
this, but other people on this list might think/know otherwise.
 From the user point of view it is adding/removing a kernel feature so a
module would seem appropriate, but from a programmers point of view, the
profiling code would have to be spread about all the kernel code in
order to accurately catch the profiling information.

Summary: -
Please try to create a profiling kernel runtime loadable module instead
of an exclusive CONFIG item.

Cheers
James

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



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:48 EST