diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2024-12-26 01:25:42 +0300 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2024-12-26 18:38:37 +0300 |
commit | 6c05353e4ff5875807f1a00f8d95e68b3d1e4d7f (patch) | |
tree | 67f3f6f1bf47b8b0e9ae6b1a4b5e1f5b4595ffea /tools/perf/scripts/python/syscall-counts.py | |
parent | 930d2b32c0af6895ba4c6ca6404e7f7b6dc214ed (diff) | |
download | linux-6c05353e4ff5875807f1a00f8d95e68b3d1e4d7f.tar.xz |
tracing: Switch trace_stack.c code over to use guard()
The function stack_trace_sysctl() uses a goto on the error path to jump to
the mutex_unlock() code. Replace the logic to use guard() and let the
compiler worry about it.
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/20241225222931.684913592@goodmis.org
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions