aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2022-01-26 16:00:50 -0800
committerArnaldo Carvalho de Melo <[email protected]>2022-02-10 15:43:56 -0300
commitea0ddc27e2608a4ac3075e5d3f6b6be1215f30e9 (patch)
tree65a99d332c8609bb44f6f3a196713beccb01f1b8 /tools/perf/scripts/python/stackcollapse.py
parent0d435bf8c3f4d01d9547e87237977191573c6f5a (diff)
perf lock: Carefully combine lock stats for discarded entries
Stats from discarded entries should be omitted. But a lock class may have both good and bad entries. If the first entry was bad, we can zero-fill the stats and only add good stats if any. The entry can remove the discard state if it finds a good entry later. Signed-off-by: Namhyung Kim <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Peter Zijlstra <[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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions