aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/trace/trace.c3
-rw-r--r--kernel/trace/trace_events.c1
-rw-r--r--kernel/trace/trace_events_filter.c2
-rw-r--r--kernel/trace/trace_output.c3
4 files changed, 9 insertions, 0 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index c0047fcf7076..2d69b26b3cc9 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -176,6 +176,7 @@ int filter_current_check_discard(struct ftrace_event_call *call, void *rec,
176{ 176{
177 return filter_check_discard(call, rec, global_trace.buffer, event); 177 return filter_check_discard(call, rec, global_trace.buffer, event);
178} 178}
179EXPORT_SYMBOL_GPL(filter_current_check_discard);
179 180
180cycle_t ftrace_now(int cpu) 181cycle_t ftrace_now(int cpu)
181{ 182{
@@ -886,6 +887,7 @@ trace_current_buffer_lock_reserve(unsigned char type, unsigned long len,
886 return trace_buffer_lock_reserve(&global_trace, 887 return trace_buffer_lock_reserve(&global_trace,
887 type, len, flags, pc); 888 type, len, flags, pc);
888} 889}
890EXPORT_SYMBOL(trace_current_buffer_lock_reserve);
889 891
890void trace_current_buffer_unlock_commit(struct ring_buffer_event *event, 892void trace_current_buffer_unlock_commit(struct ring_buffer_event *event,
891 unsigned long flags, int pc) 893 unsigned long flags, int pc)
@@ -903,6 +905,7 @@ void trace_current_buffer_discard_commit(struct ring_buffer_event *event)
903{ 905{
904 ring_buffer_discard_commit(global_trace.buffer, event); 906 ring_buffer_discard_commit(global_trace.buffer, event);
905} 907}
908EXPORT_SYMBOL_GPL(trace_nowake_buffer_unlock_commit);
906 909
907void 910void
908trace_function(struct trace_array *tr, 911trace_function(struct trace_array *tr,
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}
56EXPORT_SYMBOL_GPL(trace_define_field);
56 57
57static void ftrace_clear_events(void) 58static void ftrace_clear_events(void)
58{ 59{
diff --git a/kernel/trace/trace_events_filter.c b/kernel/trace/trace_events_filter.c
index d30b06b02b4d..f8e5eab0424c 100644
--- a/kernel/trace/trace_events_filter.c
+++ b/kernel/trace/trace_events_filter.c
@@ -110,6 +110,7 @@ int filter_match_preds(struct ftrace_event_call *call, void *rec)
110 110
111 return 1; 111 return 1;
112} 112}
113EXPORT_SYMBOL_GPL(filter_match_preds);
113 114
114void filter_print_preds(struct filter_pred **preds, int n_preds, 115void filter_print_preds(struct filter_pred **preds, int n_preds,
115 struct trace_seq *s) 116 struct trace_seq *s)
@@ -220,6 +221,7 @@ oom:
220 221
221 return -ENOMEM; 222 return -ENOMEM;
222} 223}
224EXPORT_SYMBOL_GPL(init_preds);
223 225
224void filter_free_subsystem_preds(struct event_subsystem *system) 226void filter_free_subsystem_preds(struct event_subsystem *system)
225{ 227{
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