kernel-ark/kernel/trace
Steven Rostedt d15f57f23e ftrace: fix mutex unlock in trace output
If the trace output changes on reading the trace files, there is a chance
that the start function will return NULL. If the start function of a sequence
returns NULL the stop equivalent is not called. In this case, all locks
that are taken must be released even if they are released in the stop function.

This patch fixes a case that a mutex was not released on return of NULL
in the start sequence function.

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 21:15:52 +02:00
..
ftrace.c ftrace: add UNINTERRUPTIBLE state for kftraced on disable 2008-05-23 21:15:42 +02:00
Kconfig ftrace: restrict tracing to HAVE_FTRACE architectures 2008-05-23 21:15:29 +02:00
Makefile ftrace: fix dynamic ftrace selftest 2008-05-23 21:13:23 +02:00
trace_functions.c ftrace: remove notrace 2008-05-23 20:58:28 +02:00
trace_irqsoff.c ftrace: irqsoff use raw_smp_processor_id 2008-05-23 21:13:41 +02:00
trace_sched_switch.c ftrace: remove add-hoc code 2008-05-23 21:13:32 +02:00
trace_sched_wakeup.c ftrace: printk and trace irqsoff and wakeups 2008-05-23 21:13:02 +02:00
trace_selftest_dynamic.c ftrace: fix dynamic ftrace selftest 2008-05-23 21:13:23 +02:00
trace_selftest.c ftrace: fix dynamic ftrace selftest 2008-05-23 21:13:23 +02:00
trace.c ftrace: fix mutex unlock in trace output 2008-05-23 21:15:52 +02:00
trace.h ftrace: user raw_spin_lock in tracing 2008-05-23 21:14:11 +02:00