diff options
-rw-r--r-- | arch/x86/kernel/cpu/perf_event.c | 1 | ||||
-rw-r--r-- | kernel/trace/trace_event_perf.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/perf_event.c b/arch/x86/kernel/cpu/perf_event.c index 5fb490c6ee5c..7645faea8e85 100644 --- a/arch/x86/kernel/cpu/perf_event.c +++ b/arch/x86/kernel/cpu/perf_event.c | |||
@@ -1713,3 +1713,4 @@ void perf_arch_fetch_caller_regs(struct pt_regs *regs, unsigned long ip, int ski | |||
1713 | regs->cs = __KERNEL_CS; | 1713 | regs->cs = __KERNEL_CS; |
1714 | local_save_flags(regs->flags); | 1714 | local_save_flags(regs->flags); |
1715 | } | 1715 | } |
1716 | EXPORT_SYMBOL_GPL(perf_arch_fetch_caller_regs); | ||
diff --git a/kernel/trace/trace_event_perf.c b/kernel/trace/trace_event_perf.c index f315b12a41d8..0709e4f75114 100644 --- a/kernel/trace/trace_event_perf.c +++ b/kernel/trace/trace_event_perf.c | |||
@@ -10,6 +10,7 @@ | |||
10 | #include "trace.h" | 10 | #include "trace.h" |
11 | 11 | ||
12 | DEFINE_PER_CPU(struct pt_regs, perf_trace_regs); | 12 | DEFINE_PER_CPU(struct pt_regs, perf_trace_regs); |
13 | EXPORT_PER_CPU_SYMBOL_GPL(perf_trace_regs); | ||
13 | 14 | ||
14 | static char *perf_trace_buf; | 15 | static char *perf_trace_buf; |
15 | static char *perf_trace_buf_nmi; | 16 | static char *perf_trace_buf_nmi; |