Re: [patch 8/9] x86, ftrace: call trace->open() before stopping tracing; add trace->print_header()

From: Frédéric Weisbecker
Date: Tue Nov 25 2008 - 03:55:32 EST


2008/11/25 Markus Metzger <markus.t.metzger@xxxxxxxxx>:
> Add a callback to allow an ftrace plug-in to write its own header.


That's a good idea IMHO. The trace file has always the same header
which fits the needs of function
tracer for example, but these headers are wrong for other tracers. And
be able to set custom header
for each one will help for new users of a tracer.
--
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/