aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_output.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-04-10 18:12:50 -0400
committerSteven Rostedt <rostedt@goodmis.org>2009-04-14 12:58:01 -0400
commit17c873ec280a03894bc718af817f7f24fa787ae1 (patch)
tree3acdcd41c2b80c207932625cc5e132056954d803 /kernel/trace/trace_output.c
parenta59fd6027218bd7c994e39d14afe0242f895144f (diff)
tracing/events: add export symbols for trace events in modules
Impact: let modules add trace events The trace event code requires some functions to be exported to allow modules to use TRACE_EVENT. This patch adds EXPORT_SYMBOL_GPL to the necessary functions. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_output.c')
-rw-r--r--kernel/trace/trace_output.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/trace/trace_output.c b/kernel/trace/trace_output.c
index 0e70fb07ca78..83a8abb9640f 100644
--- a/kernel/trace/trace_output.c
+++ b/kernel/trace/trace_output.c
@@ -94,6 +94,7 @@ trace_seq_printf(struct trace_seq *s, const char *fmt, ...)
94 94
95 return len; 95 return len;
96} 96}
97EXPORT_SYMBOL_GPL(trace_seq_printf);
97 98
98int trace_seq_bprintf(struct trace_seq *s, const char *fmt, const u32 *binary) 99int trace_seq_bprintf(struct trace_seq *s, const char *fmt, const u32 *binary)
99{ 100{
@@ -538,6 +539,7 @@ int register_ftrace_event(struct trace_event *event)
538 539
539 return ret; 540 return ret;
540} 541}
542EXPORT_SYMBOL_GPL(register_ftrace_event);
541 543
542/** 544/**
543 * unregister_ftrace_event - remove a no longer used event 545 * unregister_ftrace_event - remove a no longer used event
@@ -551,6 +553,7 @@ int unregister_ftrace_event(struct trace_event *event)
551 553
552 return 0; 554 return 0;
553} 555}
556EXPORT_SYMBOL_GPL(unregister_ftrace_event);
554 557
555/* 558/*
556 * Standard events 559 * Standard events