diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2009-07-29 18:59:58 +0200 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2009-08-06 07:28:06 +0200 |
commit | 1a0799a8fef5acc6503f9c5e79b2cd003317826c (patch) | |
tree | 8aec6e623981cd8505de53752234d9f6b5d94843 /kernel/trace/trace_selftest.c | |
parent | tracing: Move sched event insertion helpers in the sched switch tracer file (diff) | |
download | linux-1a0799a8fef5acc6503f9c5e79b2cd003317826c.tar.xz linux-1a0799a8fef5acc6503f9c5e79b2cd003317826c.zip |
tracing/function-graph-tracer: Move graph event insertion helpers in the graph tracer file
The function graph events helpers which insert the function entry and
return events into the ring buffer currently reside in trace.c
But this file is quite overloaded and the right place for these helpers
is in the function graph tracer file.
Then move them to trace_functions_graph.c
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_selftest.c')
-rw-r--r-- | kernel/trace/trace_selftest.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/trace/trace_selftest.c b/kernel/trace/trace_selftest.c index 00dd6485bdd7..d2cdbabb4ead 100644 --- a/kernel/trace/trace_selftest.c +++ b/kernel/trace/trace_selftest.c @@ -288,6 +288,7 @@ trace_selftest_startup_function_graph(struct tracer *trace, * to detect and recover from possible hangs */ tracing_reset_online_cpus(tr); + set_graph_array(tr); ret = register_ftrace_graph(&trace_graph_return, &trace_graph_entry_watchdog); if (ret) { |