diff options
author | Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> | 2010-03-11 07:30:35 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-03-11 14:21:29 (GMT) |
commit | 639fe4b12f92b54c9c3b38c82cdafaa38cfd3e63 (patch) | |
tree | 145b856d6945bf8575e0b1636a91be6474f87562 /arch | |
parent | 45e16a6834b6af098702e5ea6c9a40de42ff77d8 (diff) | |
download | linux-fsl-qoriq-639fe4b12f92b54c9c3b38c82cdafaa38cfd3e63.tar.xz |
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 'arch')
-rw-r--r-- | arch/x86/kernel/cpu/perf_event.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/perf_event.c b/arch/x86/kernel/cpu/perf_event.c index 5fb490c..7645fae 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 regs->cs = __KERNEL_CS; local_save_flags(regs->flags); } +EXPORT_SYMBOL_GPL(perf_arch_fetch_caller_regs); |