linux/kernel/trace
Steven Rostedt 68bf21aa15 ftrace: mcount call site on boot nops core
This is the infrastructure to the converting the mcount call sites
recorded by the __mcount_loc section into nops on boot. It also allows
for using these sites to enable tracing as normal. When the __mcount_loc
section is used, the "ftraced" kernel thread is disabled.

This uses the current infrastructure to record the mcount call sites
as well as convert them to nops. The mcount function is kept as a stub
on boot up and not converted to the ftrace_record_ip function. We use the
ftrace_record_ip to only record from the table.

This patch does not handle modules. That comes with a later patch.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-10-14 10:34:44 +02:00
..
ftrace.c ftrace: mcount call site on boot nops core 2008-10-14 10:34:44 +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 x86 mmiotrace: use resource_size_t for phys addresses 2008-05-24 11:27:36 +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 Merge branch 'tracing/sysprof' into auto-ftrace-next 2008-07-10 11:43:08 +02:00
trace_sysprof.c hrtimer: prevent migration of per CPU hrtimers 2008-09-29 17:09:14 +02:00
trace.c tracing: remove unused variable 2008-07-27 09:58:20 -07:00
trace.h Merge branch 'tracing/ftrace' into auto-ftrace-next 2008-07-14 15:58:35 +02:00