diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-03-19 12:20:38 -0400 |
---|---|---|
committer | Steven Rostedt <srostedt@redhat.com> | 2009-03-19 15:57:55 -0400 |
commit | 5ef841f6f32dce0b752a4fa0622781ee67a0e874 (patch) | |
tree | 12c1ac0552f12b93662e2676137fb1286b50d4ee /kernel/trace/trace_output.h | |
parent | ac5f6c96859e9a664ac05b04bc96ed1caad5fe29 (diff) |
tracing: make print_(b)printk_msg_only global
This patch makes print_printk_msg_only and print_bprintk_msg_only
global for other functions to use. It also renames them by adding
a "trace_" to the beginning to avoid namespace collisions.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'kernel/trace/trace_output.h')
-rw-r--r-- | kernel/trace/trace_output.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/trace/trace_output.h b/kernel/trace/trace_output.h index 3b90e6ade1aa..35c422fb51a9 100644 --- a/kernel/trace/trace_output.h +++ b/kernel/trace/trace_output.h | |||
@@ -15,6 +15,11 @@ struct trace_event { | |||
15 | trace_print_func binary; | 15 | trace_print_func binary; |
16 | }; | 16 | }; |
17 | 17 | ||
18 | extern enum print_line_t | ||
19 | trace_print_bprintk_msg_only(struct trace_iterator *iter); | ||
20 | extern enum print_line_t | ||
21 | trace_print_printk_msg_only(struct trace_iterator *iter); | ||
22 | |||
18 | extern int trace_seq_printf(struct trace_seq *s, const char *fmt, ...) | 23 | extern int trace_seq_printf(struct trace_seq *s, const char *fmt, ...) |
19 | __attribute__ ((format (printf, 2, 3))); | 24 | __attribute__ ((format (printf, 2, 3))); |
20 | extern int | 25 | extern int |