diff options
author | Namhyung Kim <namhyung@kernel.org> | 2025-03-31 10:37:19 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2025-04-25 18:31:47 +0300 |
commit | dbd11b6bdab12f60fa99f0d9ab6b626ea86be9f8 (patch) | |
tree | ed6ded412960f313abdaec2add77f5bf4a62b55a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 92504d927df0fd00984cafd9cb56eb130d94bff7 (diff) | |
download | linux-dbd11b6bdab12f60fa99f0d9ab6b626ea86be9f8.tar.xz |
perf hist: Remove formats in hierarchy when cancel children
This is to support hierarchy options with custom output fields.
Currently perf_hpp__cancel_cumulate() only removes accumulated
overhead and latency fields from the global perf_hpp_list.
This is not used in the hierarchy mode because each evsel's hist
has its own separate hpp_list. So it needs to remove the fields
from the lists too. Pass evlist to the function so that it can
iterate the evsels.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20250331073722.4695-2-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions