aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorVincent Chen <[email protected]>2019-09-23 08:45:15 +0800
committerPaul Walmsley <[email protected]>2019-10-07 12:59:40 -0700
commite0c0fc18f10d5080cddde0e81505fd3e952c20c4 (patch)
treedeb30fecb20f23a85088c3c8da3d026cbef63b88 /tools/perf/util/trace-event-scripting.c
parent8b04825ed205da38754f86f4c07ea8600d8c2a65 (diff)
riscv: avoid sending a SIGTRAP to a user thread trapped in WARN()
On RISC-V, when the kernel runs code on behalf of a user thread, and the kernel executes a WARN() or WARN_ON(), the user thread will be sent a bogus SIGTRAP. Fix the RISC-V kernel code to not send a SIGTRAP when a WARN()/WARN_ON() is executed. Signed-off-by: Vincent Chen <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> [[email protected]: fixed subject] Signed-off-by: Paul Walmsley <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions