diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2008-07-10 20:58:16 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-11 15:49:22 +0200 |
commit | 60bc080090e3bf6afa29c62cb25f913706551010 (patch) | |
tree | 42fa03bbae28072c0302f6c8f4efead22307828f /kernel/kprobes.c | |
parent | a2bb6a3d85ef3124cd336403a95abc0540d3fbe2 (diff) |
ftrace: separate out the function enabled variable
Currently the function tracer uses the global tracer_enabled variable that
is used to keep track if the tracer is enabled or not. The function tracing
startup needs to be separated out, otherwise the internal happenings of
the tracer startup is also recorded.
This patch creates a ftrace_function_enabled variable to all the starting
of the function traces to happen after everything has been started.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Cc: Steven Rostedt <srostedt@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/kprobes.c')
0 files changed, 0 insertions, 0 deletions