diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-04-10 18:12:50 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-04-14 12:58:01 -0400 |
commit | 17c873ec280a03894bc718af817f7f24fa787ae1 (patch) | |
tree | 3acdcd41c2b80c207932625cc5e132056954d803 /kernel/trace/trace_events.c | |
parent | a59fd6027218bd7c994e39d14afe0242f895144f (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_events.c')
-rw-r--r-- | kernel/trace/trace_events.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/trace/trace_events.c b/kernel/trace/trace_events.c index 5c66aaff07c1..8b9e621b80b4 100644 --- a/kernel/trace/trace_events.c +++ b/kernel/trace/trace_events.c | |||
@@ -53,6 +53,7 @@ err: | |||
53 | 53 | ||
54 | return -ENOMEM; | 54 | return -ENOMEM; |
55 | } | 55 | } |
56 | EXPORT_SYMBOL_GPL(trace_define_field); | ||
56 | 57 | ||
57 | static void ftrace_clear_events(void) | 58 | static void ftrace_clear_events(void) |
58 | { | 59 | { |