commit | bed087d0a107bcda138455468d04b90b06b5b179 | [log] [tgz] |
---|---|---|
author | Namhyung Kim <namhyung@kernel.org> | Thu Dec 30 17:40:55 2021 -0800 |
committer | Namhyung Kim <namhyung@kernel.org> | Wed Jan 26 15:56:57 2022 -0800 |
tree | 72ca7b83246eda2b54acc52fb31a740c83b7ff52 | |
parent | a4690e49aa06d722d9f178543f882f4665aa268e [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. Acked-by: Jiri Olsa <jolsa@redhat.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org>