summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_event_perf.c
diff options
context:
space:
mode:
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>2010-03-11 15:30:35 +0800
committerIngo Molnar <mingo@elte.hu>2010-03-11 15:21:29 +0100
commit639fe4b12f92b54c9c3b38c82cdafaa38cfd3e63 (patch)
tree145b856d6945bf8575e0b1636a91be6474f87562 /kernel/trace/trace_event_perf.c
parent45e16a6834b6af098702e5ea6c9a40de42ff77d8 (diff)
downloadop-kernel-dev-639fe4b12f92b54c9c3b38c82cdafaa38cfd3e63.zip
op-kernel-dev-639fe4b12f92b54c9c3b38c82cdafaa38cfd3e63.tar.gz
perf: export perf_trace_regs and perf_arch_fetch_caller_regs
Export perf_trace_regs and perf_arch_fetch_caller_regs since module will use these. Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> [ use EXPORT_PER_CPU_SYMBOL_GPL() ] Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <4B989C1B.2090407@cn.fujitsu.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace_event_perf.c')
-rw-r--r--kernel/trace/trace_event_perf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/trace/trace_event_perf.c b/kernel/trace/trace_event_perf.c
index f315b12..0709e4f 100644
--- a/kernel/trace/trace_event_perf.c
+++ b/kernel/trace/trace_event_perf.c
@@ -10,6 +10,7 @@
#include "trace.h"
DEFINE_PER_CPU(struct pt_regs, perf_trace_regs);
+EXPORT_PER_CPU_SYMBOL_GPL(perf_trace_regs);
static char *perf_trace_buf;
static char *perf_trace_buf_nmi;
OpenPOWER on IntegriCloud