linux/kernel/trace
Steven Rostedt 99ecdc43bc ftrace: add necessary locking for ftrace records
The new design of pre-recorded mcounts and updating the code outside of
kstop_machine has changed the way the records themselves are protected.

This patch uses the ftrace_lock to protect the records. Note, the lock
still does not need to be taken within calls that are only called via
kstop_machine, since the that code can not run while the spin lock is held.

Also removed the hash_lock needed for the daemon when MCOUNT_RECORD is
configured. Also did a slight cleanup of an unused variable.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-10-14 10:35:47 +02:00
..
ftrace.c ftrace: add necessary locking for ftrace records 2008-10-14 10:35:47 +02:00
Kconfig ftrace: create __mcount_loc section 2008-10-14 10:34:40 +02:00
Makefile Merge branch 'tracing/sysprof' into auto-ftrace-next 2008-07-10 11:43:08 +02:00
trace_functions.c ftrace: use current CPU for function startup 2008-07-11 15:49:21 +02:00
trace_irqsoff.c ftrace: fix modular build 2008-07-26 15:08:22 +02:00
trace_mmiotrace.c ftrace: new continue entry - separate out from trace_entry 2008-10-14 10:35:15 +02:00
trace_sched_switch.c ftrace: port to tracepoints 2008-10-14 10:32:26 +02:00
trace_sched_wakeup.c ftrace: port to tracepoints 2008-10-14 10:32:26 +02:00
trace_selftest_dynamic.c ftrace: fix dynamic ftrace selftest 2008-05-23 21:13:23 +02:00
trace_selftest.c ftrace: printk formatting infrastructure 2008-10-14 10:35:19 +02:00
trace_sysprof.c hrtimer: prevent migration of per CPU hrtimers 2008-09-29 17:09:14 +02:00
trace.c ftrace: fix some mistakes in error messages 2008-10-14 10:35:40 +02:00
trace.h ftrace: printk formatting infrastructure 2008-10-14 10:35:19 +02:00