Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 639fe4b1 authored by Xiao Guangrong's avatar Xiao Guangrong Committed by Ingo Molnar
Browse files

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: default avatarXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
[ use EXPORT_PER_CPU_SYMBOL_GPL() ]
Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <4B989C1B.2090407@cn.fujitsu.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 45e16a68
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);
+1 −0
Original line number Diff line number Diff line
@@ -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;