aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <[email protected]>2024-08-08 12:35:37 +0200
committerGreg Kroah-Hartman <[email protected]>2024-08-14 08:25:20 +0200
commit5879adbff5aad0436298db006a922dd576339c7f (patch)
tree39e99f6af0521ee899a4ee447334e6b9a9c823f3 /tools/perf/util/scripting-engines/trace-event-python.c
parent98e24a58b597d888f604f0de43fcf5eb5eb204b4 (diff)
serial: use guards for simple mutex locks
Guards can help to make the code more readable. So use it wherever they do so. On many places labels and 'ret' locals are eliminated completely. Signed-off-by: Jiri Slaby (SUSE) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions