diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-04-13 11:20:49 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-04-14 12:57:58 -0400 |
commit | 97f2025153499faa17267a0d4e18c7afaf73f39d (patch) | |
tree | cd3ea51a93093ea5250ef38b4b5bf6c2aa3f9ed5 /kernel/trace/trace_output.h | |
parent | 9504504cbab29ecb694186b1c5b15d3579c43c51 (diff) |
tracing/events: move declarations from trace directory to core include
In preparation to allowing trace events to happen in modules, we need
to move some of the local declarations in the kernel/trace directory
into include/linux.
This patch simply moves the declarations and performs no context changes.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_output.h')
-rw-r--r-- | kernel/trace/trace_output.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/kernel/trace/trace_output.h b/kernel/trace/trace_output.h index 5c7cbfb65c71..6e220a8e5706 100644 --- a/kernel/trace/trace_output.h +++ b/kernel/trace/trace_output.h | |||
@@ -4,18 +4,6 @@ | |||
4 | #include <linux/trace_seq.h> | 4 | #include <linux/trace_seq.h> |
5 | #include "trace.h" | 5 | #include "trace.h" |
6 | 6 | ||
7 | typedef enum print_line_t (*trace_print_func)(struct trace_iterator *iter, | ||
8 | int flags); | ||
9 | |||
10 | struct trace_event { | ||
11 | struct hlist_node node; | ||
12 | int type; | ||
13 | trace_print_func trace; | ||
14 | trace_print_func raw; | ||
15 | trace_print_func hex; | ||
16 | trace_print_func binary; | ||
17 | }; | ||
18 | |||
19 | extern enum print_line_t | 7 | extern enum print_line_t |
20 | trace_print_bprintk_msg_only(struct trace_iterator *iter); | 8 | trace_print_bprintk_msg_only(struct trace_iterator *iter); |
21 | extern enum print_line_t | 9 | extern enum print_line_t |
@@ -33,8 +21,6 @@ extern int trace_print_context(struct trace_iterator *iter); | |||
33 | extern int trace_print_lat_context(struct trace_iterator *iter); | 21 | extern int trace_print_lat_context(struct trace_iterator *iter); |
34 | 22 | ||
35 | extern struct trace_event *ftrace_find_event(int type); | 23 | extern struct trace_event *ftrace_find_event(int type); |
36 | extern int register_ftrace_event(struct trace_event *event); | ||
37 | extern int unregister_ftrace_event(struct trace_event *event); | ||
38 | 24 | ||
39 | extern enum print_line_t trace_nop_print(struct trace_iterator *iter, | 25 | extern enum print_line_t trace_nop_print(struct trace_iterator *iter, |
40 | int flags); | 26 | int flags); |