linux/kernel/trace
Steven Rostedt bd95b88d9e ftrace: release functions from hash
The x86 architecture uses a static recording of mcount caller locations
and is not affected by this patch.

For architectures still using the dynamic ftrace daemon, this patch is
critical. It removes the race between the recording of a function that
calls mcount, the unloading of a module, and the ftrace daemon updating
the call sites.

This patch adds the releasing of the hash functions that the daemon uses
to update the mcount call sites. When a module is unloaded, not only
are the replaced call site table update, but now so is the hash recorded
functions that the ftrace daemon will use.

Again, architectures that implement MCOUNT_RECORD are not affected by
this (which currently only x86 has).

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-10-20 18:27:01 +02:00
..
ftrace.c ftrace: release functions from hash 2008-10-20 18:27:01 +02:00
Kconfig tracing/fastboot: improve help text 2008-10-14 14:27:20 +02:00
Makefile tracing: unified trace buffer 2008-10-14 10:38:54 +02:00
ring_buffer.c ring-buffer: make reentrant 2008-10-14 10:39:19 +02:00
trace_boot.c tracing/fastboot: fix printk format typo in boot tracer 2008-10-14 10:39:23 +02:00
trace_functions.c ftrace: make work with new ring buffer 2008-10-14 10:38:57 +02:00
trace_irqsoff.c ftrace: move pc counter in irqtrace 2008-10-14 10:39:16 +02:00
trace_mmiotrace.c ftrace: preempt disable over interrupt disable 2008-10-14 10:39:09 +02:00
trace_nop.c ftrace: make work with new ring buffer 2008-10-14 10:38:57 +02:00
trace_sched_switch.c ftrace: make some tracers reentrant 2008-10-14 10:39:20 +02:00
trace_sched_wakeup.c ftrace: preempt disable over interrupt disable 2008-10-14 10:39:09 +02:00
trace_selftest_dynamic.c
trace_selftest.c ftrace: make work with new ring buffer 2008-10-14 10:38:57 +02:00
trace_stack.c ftrace: stack trace add indexes 2008-10-14 10:36:28 +02:00
trace_sysprof.c ftrace: make work with new ring buffer 2008-10-14 10:38:57 +02:00
trace.c trace: add build-time check to avoid overrunning hex buffer 2008-10-14 10:39:26 +02:00
trace.h ftrace: preempt disable over interrupt disable 2008-10-14 10:39:09 +02:00