linux/kernel/trace
Steven Rostedt b3806b4316 ftrace: user run time file reading
This patch creates a file called trace_pipe in the tracing
debug directory. This file is a consumer of the trace buffers.
This means that reads of this file consumes the entries from
the trace buffers so that they will not be read a second time,
as contrast to the static buffers latency_trace and trace.

Reading from the trace_pipe will remove the entries from trace
and latency_trace too.

The advantage that trace_pipe has is that it can record live
traces. It will block when there is nothing in the buffer,
and read the entries as they are entered.  An EOF happens when
tracing is disabled (tracing_enabled = 0).

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-05-23 20:42:01 +02:00
..
ftrace.c ftrace: startup tester on dynamic tracing. 2008-05-23 20:41:06 +02:00
Kconfig ftrace: add self-tests 2008-05-23 20:40:36 +02:00
Makefile ftrace: trace preempt off critical timings 2008-05-23 20:32:54 +02:00
trace_functions.c ftrace: add self-tests 2008-05-23 20:40:36 +02:00
trace_irqsoff.c ftrace: cleanups 2008-05-23 20:40:46 +02:00
trace_sched_switch.c ftrace: add self-tests 2008-05-23 20:40:36 +02:00
trace_sched_wakeup.c ftrace: cleanups 2008-05-23 20:40:46 +02:00
trace_selftest.c ftrace: disable all tracers on corrupted buffer 2008-05-23 20:41:22 +02:00
trace.c ftrace: user run time file reading 2008-05-23 20:42:01 +02:00
trace.h ftrace: user run time file reading 2008-05-23 20:42:01 +02:00