aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_output.h
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-04-13 11:20:49 -0400
committerSteven Rostedt <rostedt@goodmis.org>2009-04-14 12:57:58 -0400
commit97f2025153499faa17267a0d4e18c7afaf73f39d (patch)
treecd3ea51a93093ea5250ef38b4b5bf6c2aa3f9ed5 /kernel/trace/trace_output.h
parent9504504cbab29ecb694186b1c5b15d3579c43c51 (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.h14
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
7typedef enum print_line_t (*trace_print_func)(struct trace_iterator *iter,
8 int flags);
9
10struct 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
19extern enum print_line_t 7extern enum print_line_t
20trace_print_bprintk_msg_only(struct trace_iterator *iter); 8trace_print_bprintk_msg_only(struct trace_iterator *iter);
21extern enum print_line_t 9extern enum print_line_t
@@ -33,8 +21,6 @@ extern int trace_print_context(struct trace_iterator *iter);
33extern int trace_print_lat_context(struct trace_iterator *iter); 21extern int trace_print_lat_context(struct trace_iterator *iter);
34 22
35extern struct trace_event *ftrace_find_event(int type); 23extern struct trace_event *ftrace_find_event(int type);
36extern int register_ftrace_event(struct trace_event *event);
37extern int unregister_ftrace_event(struct trace_event *event);
38 24
39extern enum print_line_t trace_nop_print(struct trace_iterator *iter, 25extern enum print_line_t trace_nop_print(struct trace_iterator *iter,
40 int flags); 26 int flags);