Commit 6e48b550 authored by Mark Brown's avatar Mark Brown Committed by Steven Rostedt
Browse files

tracing: Fix build breakage without CONFIG_PERF_EVENTS (again)

Today's -next fails to link for me:

kernel/built-in.o:(.data+0x178e50): undefined reference to `perf_ftrace_event_register'

It looks like multiple fixes have been merged for the issue fixed by
commit fa73dc94 (tracing: Fix build breakage without CONFIG_PERF_EVENTS)
though I can't identify the other changes that have gone in at the
minute, it's possible that the changes which caused the breakage fixed
by the previous commit got dropped but the fix made it in.


Cc: Frederic Weisbecker <>
Cc: Ingo Molnar <>
Signed-off-by: default avatarMark Brown <>
Signed-off-by: default avatarSteven Rostedt <>
parent a7ca0803
......@@ -836,11 +836,11 @@ extern const char *__stop___trace_bprintk_fmt[];
#include "trace_entries.h"
int perf_ftrace_event_register(struct ftrace_event_call *call,
enum trace_reg type, void *data);
#define perf_ftrace_event_register NULL
#endif /* _LINUX_KERNEL_TRACE_H */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment