diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2021-05-08 20:14:55 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-05-12 11:07:39 +1000 |
commit | 4f242fc5f2e24412b89e934dad025b10293b2712 (patch) | |
tree | f7c45960255bb6d474ffa8559a24543755d0a098 /arch/sparc/kernel/sun4m_smp.c | |
parent | 7058f4b13edd9dd2cb3c5b4fe340d8307dbe0208 (diff) | |
download | linux-4f242fc5f2e24412b89e934dad025b10293b2712.tar.bz2 |
powerpc/pseries: warn if recursing into the hcall tracing code
The hcall tracing code has a recursion check built in, which skips
tracing if we are already tracing an hcall.
However if the tracing code has problems with recursion, this check
may not catch all cases because the tracing code could be invoked from
a different tracepoint first, then make an hcall that gets traced,
then recurse.
Add an explicit warning if recursion is detected here, which might help
to notice tracing code making hcalls. Really the core trace code should
have its own recursion checking and warnings though.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210508101455.1578318-5-npiggin@gmail.com
Diffstat (limited to 'arch/sparc/kernel/sun4m_smp.c')
0 files changed, 0 insertions, 0 deletions