diff options
| author | Namhyung Kim <[email protected]> | 2022-01-27 00:00:50 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-02-10 18:43:56 +0000 |
| commit | ea0ddc27e2608a4ac3075e5d3f6b6be1215f30e9 (patch) | |
| tree | 65a99d332c8609bb44f6f3a196713beccb01f1b8 /tools/lib/api/fd/array.h | |
| parent | perf lock: Add -c/--combine-locks option (diff) | |
| download | kernel-ea0ddc27e2608a4ac3075e5d3f6b6be1215f30e9.tar.gz kernel-ea0ddc27e2608a4ac3075e5d3f6b6be1215f30e9.zip | |
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/lib/api/fd/array.h')
0 files changed, 0 insertions, 0 deletions
