diff options
| author | Namhyung Kim <[email protected]> | 2022-01-26 16:00:50 -0800 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-02-10 15:43:56 -0300 |
| commit | ea0ddc27e2608a4ac3075e5d3f6b6be1215f30e9 (patch) | |
| tree | 65a99d332c8609bb44f6f3a196713beccb01f1b8 /tools/perf/scripts/python | |
| parent | 0d435bf8c3f4d01d9547e87237977191573c6f5a (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')
0 files changed, 0 insertions, 0 deletions