Skip to content

Commit

Permalink
tracing: Export trace_profile_buf symbols
Browse files Browse the repository at this point in the history
ERROR: "trace_profile_buf_nmi" [fs/jbd2/jbd2.ko] undefined!
ERROR: "trace_profile_buf" [fs/jbd2/jbd2.ko] undefined!
ERROR: "trace_profile_buf_nmi" [fs/ext4/ext4.ko] undefined!
ERROR: "trace_profile_buf" [fs/ext4/ext4.ko] undefined!
ERROR: "trace_profile_buf_nmi" [arch/x86/kvm/kvm.ko] undefined!
ERROR: "trace_profile_buf" [arch/x86/kvm/kvm.ko] undefined!

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <1253442878.7542.3.camel@laptop>
[ fixed whitespace noise and checkpatch complaint ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Peter Zijlstra authored and Ingo Molnar committed Sep 20, 2009
1 parent 2df2881 commit 05bafda
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion kernel/trace/trace_event_profile.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
typedef struct {char buf[FTRACE_MAX_PROFILE_SIZE];} profile_buf_t;

char *trace_profile_buf;
char *trace_profile_buf_nmi;
EXPORT_SYMBOL_GPL(trace_profile_buf);

char *trace_profile_buf_nmi;
EXPORT_SYMBOL_GPL(trace_profile_buf_nmi);

/* Count the events in use (per event id, not per instance) */
static int total_profile_count;
Expand Down

0 comments on commit 05bafda

Please sign in to comment.