Skip to content

Commit a3f1a39

Browse files
npigginmpe
authored andcommitted
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 <naveen.n.rao@linux.vnet.ibm.com> Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Reviewed-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210508101455.1578318-3-npiggin@gmail.com
1 parent 2c8c89b commit a3f1a39

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • arch/powerpc/platforms/pseries

arch/powerpc/platforms/pseries/lpar.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1835,7 +1835,7 @@ void hcall_tracepoint_unregfunc(void)
18351835
static DEFINE_PER_CPU(unsigned int, hcall_trace_depth);
18361836

18371837

1838-
void __trace_hcall_entry(unsigned long opcode, unsigned long *args)
1838+
notrace void __trace_hcall_entry(unsigned long opcode, unsigned long *args)
18391839
{
18401840
unsigned long flags;
18411841
unsigned int *depth;
@@ -1863,7 +1863,7 @@ void __trace_hcall_entry(unsigned long opcode, unsigned long *args)
18631863
local_irq_restore(flags);
18641864
}
18651865

1866-
void __trace_hcall_exit(long opcode, long retval, unsigned long *retbuf)
1866+
notrace void __trace_hcall_exit(long opcode, long retval, unsigned long *retbuf)
18671867
{
18681868
unsigned long flags;
18691869
unsigned int *depth;

0 commit comments

Comments
 (0)