diff options
author | Leo Yan <[email protected]> | 2020-11-04 17:42:28 +0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-11-12 17:55:41 -0300 |
commit | e24a87b54ef3e39261f1d859b7f78416349dfb14 (patch) | |
tree | b379fb2a50aaa0e8e2e4564ef3fd07c8207a7eea /tools/perf/scripts/python/export-to-sqlite.py | |
parent | af5043c89a8ef6b6949a245fff355a552eaed240 (diff) |
perf lock: Correct field name "flags"
The tracepoint "lock:lock_acquire" contains field "flags" but not
"flag". Current code wrongly retrieves value from field "flag" and it
always gets zero for the value, thus "perf lock" doesn't report the
correct result.
This patch replaces the field name "flag" with "flags", so can read out
the correct flags for locking.
Fixes: e4cef1f65061 ("perf lock: Fix state machine to recognize lock sequence")
Signed-off-by: Leo Yan <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions