diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/perf_event.c | 5 | ||||
-rw-r--r-- | kernel/trace/trace_event_perf.c | 2 |
2 files changed, 0 insertions, 7 deletions
diff --git a/kernel/perf_event.c b/kernel/perf_event.c index e099650cd249..9ae4dbcdf469 100644 --- a/kernel/perf_event.c +++ b/kernel/perf_event.c | |||
@@ -2851,11 +2851,6 @@ __weak struct perf_callchain_entry *perf_callchain(struct pt_regs *regs) | |||
2851 | return NULL; | 2851 | return NULL; |
2852 | } | 2852 | } |
2853 | 2853 | ||
2854 | __weak | ||
2855 | void perf_arch_fetch_caller_regs(struct pt_regs *regs, unsigned long ip, int skip) | ||
2856 | { | ||
2857 | } | ||
2858 | |||
2859 | 2854 | ||
2860 | /* | 2855 | /* |
2861 | * We assume there is only KVM supporting the callbacks. | 2856 | * We assume there is only KVM supporting the callbacks. |
diff --git a/kernel/trace/trace_event_perf.c b/kernel/trace/trace_event_perf.c index cb6f365016e4..21db1d3a48d0 100644 --- a/kernel/trace/trace_event_perf.c +++ b/kernel/trace/trace_event_perf.c | |||
@@ -9,8 +9,6 @@ | |||
9 | #include <linux/kprobes.h> | 9 | #include <linux/kprobes.h> |
10 | #include "trace.h" | 10 | #include "trace.h" |
11 | 11 | ||
12 | EXPORT_SYMBOL_GPL(perf_arch_fetch_caller_regs); | ||
13 | |||
14 | static char *perf_trace_buf[4]; | 12 | static char *perf_trace_buf[4]; |
15 | 13 | ||
16 | /* | 14 | /* |