Re: [PATCH] perf tools: Only save the event formats we need

From: Frederic Weisbecker
Date: Thu Aug 27 2009 - 21:25:42 EST


On Fri, Aug 28, 2009 at 03:09:58AM +0200, Frederic Weisbecker wrote:
> While opening a trace event counter, every events are saved in the
> trace.info file. But we only want to save the specifications of the
> events we are using.



I must confess I haven't done that because I care much about the amount
of saved format, you can also beat me because this patch regress perf trace
in that it won't support the trace appending mode anymore (for now).

That said, tracing/events/*/*/format is full of non trivial cases.
perf trace was failing because it can't yet handle scalar dereference
in the format arguments (since the recent sys_enter tracepoint add).

So what I plan toward this patch is to start iterating on trivial
cases and make them work well without beeing annoyed by format fetching
that are not supported yet.

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