summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_events.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_events.c
parenta59fd6027218bd7c994e39d14afe0242f895144f (diff)
downloadblackbird-op-linux-17c873ec280a03894bc718af817f7f24fa787ae1.tar.gz
blackbird-op-linux-17c873ec280a03894bc718af817f7f24fa787ae1.zip
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.c1
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:
return -ENOMEM;
}
+EXPORT_SYMBOL_GPL(trace_define_field);
static void ftrace_clear_events(void)
{
OpenPOWER on IntegriCloud