Re: [PATCH 2/4] tracing: add event trace infrastructure

From: Pekka Enberg
Date: Wed Feb 25 2009 - 04:01:11 EST


Hi Andrew,

On Wed, Feb 25, 2009 at 10:28 AM, Andrew Morton
<akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
> A better approach would be to design simple, robust kernel interfaces
> which make sense and which aren't made all complex by putting the user
> interface in kernel space.  And to maintain corresponding userspace
> tools which manipulate and present the IO from those kernel interfaces.

We did this for kmemtrace and quite frankly, I usually end up spending
more time figuring out how to export the data from a virtual machine
than actually analyzing the results. What makes ftrace so cool is the
fact that it has almost zero-overhead for setup and that the
text-based data format plays well with simple scripting tools
available everywhere.

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