diff options
Diffstat (limited to 'kernel/perf_event.c')
-rw-r--r-- | kernel/perf_event.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/perf_event.c b/kernel/perf_event.c index fb3031cf9f17..574ee58a3046 100644 --- a/kernel/perf_event.c +++ b/kernel/perf_event.c | |||
@@ -2786,10 +2786,12 @@ __weak struct perf_callchain_entry *perf_callchain(struct pt_regs *regs) | |||
2786 | return NULL; | 2786 | return NULL; |
2787 | } | 2787 | } |
2788 | 2788 | ||
2789 | #ifdef CONFIG_EVENT_TRACING | ||
2789 | __weak | 2790 | __weak |
2790 | void perf_arch_fetch_caller_regs(struct pt_regs *regs, unsigned long ip, int skip) | 2791 | void perf_arch_fetch_caller_regs(struct pt_regs *regs, unsigned long ip, int skip) |
2791 | { | 2792 | { |
2792 | } | 2793 | } |
2794 | #endif | ||
2793 | 2795 | ||
2794 | /* | 2796 | /* |
2795 | * Output | 2797 | * Output |