diff options
| author | Namhyung Kim <[email protected]> | 2022-10-18 02:02:10 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-10-27 19:37:25 +0000 |
| commit | 93d5e700156e03e66eb1bf2158ba3b8a8b354c71 (patch) | |
| tree | dec02dee9d3b520fd9f6d120764901f113bd3bfb /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | perf tools: Use pmu info in evsel__is_hybrid() (diff) | |
| download | kernel-93d5e700156e03e66eb1bf2158ba3b8a8b354c71.tar.gz kernel-93d5e700156e03e66eb1bf2158ba3b8a8b354c71.zip | |
perf stat: Use evsel__is_hybrid() more
In the stat-display code, it needs to check if the current evsel is
hybrid but it uses perf_pmu__has_hybrid() which can return true for
non-hybrid event too. I think it's better to use evsel__is_hybrid().
Also remove a NULL check for the 'config' parameter in the
hybrid_merge() since it's called after config->no_merge check.
Signed-off-by: Namhyung Kim <[email protected]>
Acked-by: Ian Rogers <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Athira Jajeev <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: James Clark <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Leo Yan <[email protected]>
Cc: Michael Petlan <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Xing Zhengjun <[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/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
