diff options
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r-- | kernel/trace/trace.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index 1c8b7c6f7b3b..6c6f7933eede 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h | |||
@@ -838,11 +838,11 @@ void trace_printk_init_buffers(void); | |||
838 | filter) | 838 | filter) |
839 | #include "trace_entries.h" | 839 | #include "trace_entries.h" |
840 | 840 | ||
841 | #ifdef CONFIG_FUNCTION_TRACER | 841 | #if defined(CONFIG_PERF_EVENTS) && defined(CONFIG_FUNCTION_TRACER) |
842 | int perf_ftrace_event_register(struct ftrace_event_call *call, | 842 | int perf_ftrace_event_register(struct ftrace_event_call *call, |
843 | enum trace_reg type, void *data); | 843 | enum trace_reg type, void *data); |
844 | #else | 844 | #else |
845 | #define perf_ftrace_event_register NULL | 845 | #define perf_ftrace_event_register NULL |
846 | #endif /* CONFIG_FUNCTION_TRACER */ | 846 | #endif |
847 | 847 | ||
848 | #endif /* _LINUX_KERNEL_TRACE_H */ | 848 | #endif /* _LINUX_KERNEL_TRACE_H */ |