aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2023-04-06 21:06:05 +0000
committerArnaldo Carvalho de Melo <[email protected]>2023-04-07 00:52:17 +0000
commitd783ea8f62c4e58cea1d04567048368691128d5e (patch)
tree6328e2f0a4b4247d5de5e5d770663c10b6105f45 /tools/perf/util/scripting-engines/trace-event-python.c
parenttools: Rename __fallthrough to fallthrough (diff)
downloadkernel-d783ea8f62c4e58cea1d04567048368691128d5e.tar.gz
kernel-d783ea8f62c4e58cea1d04567048368691128d5e.zip
perf lock contention: Simplify parse_lock_type()
The get_type_flag() should check both str and name fields in the lock_type_table so that it can find the appropriate flag without retrying with ':R' or ':W' suffix from the caller. Also fix a typo in the rt-mutex. Signed-off-by: Namhyung Kim <[email protected]> Acked-by: Ian Rogers <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Hao Luo <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Juri Lelli <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Song Liu <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions