Messages in this thread | | | Date | Mon, 21 Apr 2008 17:09:35 -0400 | From | Steven Rostedt <> | Subject | [PATCH 0/3] ftrace: overrun accounting and trace_pipe headers |
| |
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
| |