diff options
author | Peter Zijlstra <peterz@infradead.org> | 2008-09-04 04:24:14 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-14 04:36:45 -0400 |
commit | f09ce573f57ddc35c67b39e51f34545877b30031 (patch) | |
tree | 776620a03aa55eecf5497b2a2a8027de6d819624 /kernel/trace/trace.h | |
parent | 5a90f577e5369a84b720ead42e621fcb1b8a8b21 (diff) |
ftrace: make ftrace_printk usable with the other tracers
Currently ftrace_printk only works with the ftrace tracer, switch it to an
iter_ctrl setting so we can make us of them with other tracers too.
[rostedt@redhat.com: tweak to the disable condition]
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r-- | kernel/trace/trace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index 50b6d7a6f01a..5f54c875c8be 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h | |||
@@ -356,6 +356,7 @@ enum trace_iterator_flags { | |||
356 | TRACE_ITER_BLOCK = 0x80, | 356 | TRACE_ITER_BLOCK = 0x80, |
357 | TRACE_ITER_STACKTRACE = 0x100, | 357 | TRACE_ITER_STACKTRACE = 0x100, |
358 | TRACE_ITER_SCHED_TREE = 0x200, | 358 | TRACE_ITER_SCHED_TREE = 0x200, |
359 | TRACE_ITER_PRINTK = 0x400, | ||
359 | }; | 360 | }; |
360 | 361 | ||
361 | #endif /* _LINUX_KERNEL_TRACE_H */ | 362 | #endif /* _LINUX_KERNEL_TRACE_H */ |