[PATCH 0/3] ftrace: overrun accounting and trace_pipe headers

From: Steven Rostedt
Date: Mon Apr 21 2008 - 17:22:31 EST



The first patch in this series adds accounting to record overruns. That is
where the writing catches up to the reading of the buffer. This really
only matters for trace_pipe since that's a consumer / producer output file.

The next patch adds new methods for the plugins to hook into the
open_pipe and open_read, to let a plugin produce a header.
The open_read method can also be used to do something when overruns
are detected.

The last patch is a test patch AND SHOULD NOT BE APPLIED. It is just an
example in how to use the new methods to produce a header. It simply
makes the ftrace tracer produce a simple "Test header" before any
output.

-- Steve

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