kernel-fxtec-pro1x/kernel/trace
Steven Rostedt 6cd8a4bb2f ftrace: trace preempt off critical timings
Add preempt off timings. A lot of kernel core code is taken from the RT patch
latency trace that was written by Ingo Molnar.

This adds "preemptoff" and "preemptirqsoff" to /debugfs/tracing/available_tracers

Now instead of just tracing irqs off, preemption off can be selected
to be recorded.

When this is selected, it shares the same files as irqs off timings.
One can either trace preemption off, irqs off, or one or the other off.

By echoing "preemptoff" into /debugfs/tracing/current_tracer, recording
of preempt off only is performed. "irqsoff" will only record the time
irqs are disabled, but "preemptirqsoff" will take the total time irqs
or preemption are disabled. Runtime switching of these options is now
supported by simpling echoing in the appropriate trace name into
/debugfs/tracing/current_tracer.

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:32:54 +02:00
..
ftrace.c
Kconfig ftrace: trace preempt off critical timings 2008-05-23 20:32:54 +02:00
Makefile ftrace: trace preempt off critical timings 2008-05-23 20:32:54 +02:00
trace.c
trace.h
trace_functions.c ftrace: function tracer 2008-05-23 20:32:13 +02:00
trace_irqsoff.c ftrace: trace preempt off critical timings 2008-05-23 20:32:54 +02:00
trace_sched_switch.c ftrace: add tracing of context switches 2008-05-23 20:32:27 +02:00
trace_sched_wakeup.c ftrace: tracer for scheduler wakeup latency 2008-05-23 20:32:36 +02:00