path: root/arch/powerpc
diff options
authorNicholas Piggin <>2021-05-08 20:14:53 +1000
committerMichael Ellerman <>2021-05-12 11:07:38 +1000
commita3f1a39a5643d5c5ed3eee4edd933e0ebfeeed6e (patch)
treedc1f4293c47034ac9c221962b7921841633addae /arch/powerpc
parent2c8c89b95831f46a2fb31a8d0fef4601694023ce (diff)
powerpc/pseries: Don't trace hcall tracing wrapper
This doesn't seem very useful to trace before the recursion check, even if the ftrace code has any recursion checks of its own. Be on the safe side and don't trace the hcall trace wrappers. Reported-by: Naveen N. Rao <> Signed-off-by: Nicholas Piggin <> Reviewed-by: Naveen N. Rao <> Signed-off-by: Michael Ellerman <> Link:
Diffstat (limited to 'arch/powerpc')
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/pseries/lpar.c b/arch/powerpc/platforms/pseries/lpar.c
index b619568a4d04..d79d7410c320 100644
--- a/arch/powerpc/platforms/pseries/lpar.c
+++ b/arch/powerpc/platforms/pseries/lpar.c
@@ -1835,7 +1835,7 @@ void hcall_tracepoint_unregfunc(void)
static DEFINE_PER_CPU(unsigned int, hcall_trace_depth);
-void __trace_hcall_entry(unsigned long opcode, unsigned long *args)
+notrace void __trace_hcall_entry(unsigned long opcode, unsigned long *args)
unsigned long flags;
unsigned int *depth;
@@ -1863,7 +1863,7 @@ out:
-void __trace_hcall_exit(long opcode, long retval, unsigned long *retbuf)
+notrace void __trace_hcall_exit(long opcode, long retval, unsigned long *retbuf)
unsigned long flags;
unsigned int *depth;