aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorAnton Gusev <[email protected]>2023-01-31 07:58:18 +0000
committerSteven Rostedt (Google) <[email protected]>2023-03-19 16:20:48 +0000
commitbc4f359b3b607daac0290d0038561237a86b38cb (patch)
tree266fcfde507458aaaef103cb17f8d2a3c3b5c22f /tools/perf/scripts/python/failed-syscalls-by-pid.py
parenttracing: Make tracepoint lockdep check actually test something (diff)
downloadkernel-bc4f359b3b607daac0290d0038561237a86b38cb.tar.gz
kernel-bc4f359b3b607daac0290d0038561237a86b38cb.zip
tracing: Fix wrong return in kprobe_event_gen_test.c
Overwriting the error code with the deletion result may cause the function to return 0 despite encountering an error. Commit b111545d26c0 ("tracing: Remove the useless value assignment in test_create_synth_event()") solves a similar issue by returning the original error code, so this patch does the same. Found by Linux Verification Center (linuxtesting.org) with SVACE. Link: https://lore.kernel.org/linux-trace-kernel/[email protected] Signed-off-by: Anton Gusev <[email protected]> Reviewed-by: Steven Rostedt (Google) <[email protected]> Acked-by: Masami Hiramatsu (Google) <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions