Jiri Olsa
5cb084bb1f
tracing: Enable records during the module load
...
I was debuging some module using "function" and "function_graph"
tracers and noticed, that if you load module after you enabled
tracing, the module's hooks will convert only to NOP instructions.
The attached patch enables modules' hooks if there's function trace
allready on, thus allowing to trace module functions.
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <20091013203425.896285120@goodmis.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-10-14 08:13:54 +02:00
..
blktrace.c
Merge commit 'v2.6.31-rc9' into tracing/core
2009-09-06 06:11:42 +02:00
ftrace.c
tracing: Enable records during the module load
2009-10-14 08:13:54 +02:00
Kconfig
trivial: Fix duplicated word "options" in comment
2009-09-21 15:14:58 +02:00
kmemtrace.c
tracing: remove users of tracing_reset
2009-09-04 12:12:39 -04:00
Makefile
tracing, perf: Convert the power tracer into an event tracer
2009-09-19 11:42:12 +02:00
power-traces.c
tracing, perf: Convert the power tracer into an event tracer
2009-09-19 11:42:12 +02:00
ring_buffer.c
includecheck fix: kernel/trace, ring_buffer.c
2009-09-20 16:58:56 +05:30
ring_buffer_benchmark.c
trace.c
Merge branch 'tracing/core' of git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing into tracing/core
2009-10-13 12:03:08 +02:00
trace.h
tracing: Support multiple pids in set_pid_ftrace file
2009-10-14 08:13:53 +02:00
trace_boot.c
tracing: add filter event logic to special, mmiotrace and boot tracers
2009-09-12 23:34:04 -04:00
trace_branch.c
tracing: user local buffer variable for trace branch tracer
2009-10-07 21:53:41 -04:00
trace_clock.c
tracing: optimize global_trace_clock cachelines
2009-09-15 12:24:22 -04:00
trace_entries.h
tracing, perf: Convert the power tracer into an event tracer
2009-09-19 11:42:12 +02:00
trace_event_profile.c
tracing: Use free_percpu instead of kfree
2009-10-05 10:57:56 +02:00
trace_events.c
Merge branch 'tracing/urgent' into tracing/core
2009-10-01 11:20:48 +02:00
trace_events_filter.c
Merge branch 'tracing/urgent' into tracing/core
2009-10-13 09:24:59 +02:00
trace_export.c
tracing: remove some unused macros
2009-09-14 11:43:24 -04:00
trace_functions.c
tracing: switch function prints from %pf to %ps
2009-09-17 15:53:40 -04:00
trace_functions_graph.c
tracing: switch function prints from %pf to %ps
2009-09-17 15:53:40 -04:00
trace_hw_branches.c
tracing: fix warning on kernel/trace/trace_branch.c andtrace_hw_branches.c
2009-10-07 21:52:03 -04:00
trace_irqsoff.c
tracing: do not update tracing_max_latency when tracer is stopped
2009-09-12 21:45:17 -04:00
trace_mmiotrace.c
tracing: add filter event logic to special, mmiotrace and boot tracers
2009-09-12 23:34:04 -04:00
trace_nop.c
trace_output.c
tracing: fix transposed numbers of lock_depth and preempt_count
2009-10-07 14:05:04 -04:00
trace_output.h
tracing: consolidate code between trace_output.c and trace_function_graph.c
2009-09-11 14:24:13 -04:00
trace_printk.c
tracing: Remove markers
2009-09-18 21:22:08 +02:00
trace_sched_switch.c
tracing: pass around ring buffer instead of tracer
2009-09-04 18:59:39 -04:00
trace_sched_wakeup.c
tracing: do not update tracing_max_latency when tracer is stopped
2009-09-12 21:45:17 -04:00
trace_selftest.c
trace_selftest_dynamic.c
trace_stack.c
sysctl: remove "struct file *" argument of ->proc_handler
2009-09-24 07:21:04 -07:00
trace_stat.c
trace_stat.h
trace_syscalls.c
Merge branch 'perfcounters-rename-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
2009-09-21 09:15:07 -07:00
trace_sysprof.c
trace_workqueue.c