diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-04-17 16:01:56 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-04-17 16:21:28 -0400 |
commit | 12acd473d45cf2e40de3782cb2de712e5cd4d715 (patch) | |
tree | 96606659bd0d981ca1c97c4753388e0b594a5eb1 | |
parent | b0afdc126d0515e76890f0a5f26b28501cfa298e (diff) |
tracing: add EXPORT_SYMBOL_GPL for trace commits
Not all the necessary symbols were exported to allow for tracing
by modules. This patch adds them in.
[ Impact: allow modules to commit data to the ring buffer ]
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r-- | kernel/trace/trace.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index f681f646aa07..183d788038e8 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c | |||
@@ -894,18 +894,20 @@ void trace_current_buffer_unlock_commit(struct ring_buffer_event *event, | |||
894 | { | 894 | { |
895 | __trace_buffer_unlock_commit(&global_trace, event, flags, pc, 1); | 895 | __trace_buffer_unlock_commit(&global_trace, event, flags, pc, 1); |
896 | } | 896 | } |
897 | EXPORT_SYMBOL(trace_current_buffer_unlock_commit); | ||
897 | 898 | ||
898 | void trace_nowake_buffer_unlock_commit(struct ring_buffer_event *event, | 899 | void trace_nowake_buffer_unlock_commit(struct ring_buffer_event *event, |
899 | unsigned long flags, int pc) | 900 | unsigned long flags, int pc) |
900 | { | 901 | { |
901 | __trace_buffer_unlock_commit(&global_trace, event, flags, pc, 0); | 902 | __trace_buffer_unlock_commit(&global_trace, event, flags, pc, 0); |
902 | } | 903 | } |
904 | EXPORT_SYMBOL(trace_nowake_buffer_unlock_commit); | ||
903 | 905 | ||
904 | void trace_current_buffer_discard_commit(struct ring_buffer_event *event) | 906 | void trace_current_buffer_discard_commit(struct ring_buffer_event *event) |
905 | { | 907 | { |
906 | ring_buffer_discard_commit(global_trace.buffer, event); | 908 | ring_buffer_discard_commit(global_trace.buffer, event); |
907 | } | 909 | } |
908 | EXPORT_SYMBOL_GPL(trace_nowake_buffer_unlock_commit); | 910 | EXPORT_SYMBOL_GPL(trace_current_buffer_discard_commit); |
909 | 911 | ||
910 | void | 912 | void |
911 | trace_function(struct trace_array *tr, | 913 | trace_function(struct trace_array *tr, |