perf hist: Remove formats in hierarchy when cancel latency
authorNamhyung Kim <namhyung@kernel.org>
Mon, 31 Mar 2025 07:37:20 +0000 (00:37 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 25 Apr 2025 15:31:51 +0000 (12:31 -0300)
commitb09124e2e167e1ec4e29fe4c12f8956c43822ffd
tree5b450e56e9ddd65596635875f0ad919dc7fc54de
parentdbd11b6bdab12f60fa99f0d9ab6b626ea86be9f8
perf hist: Remove formats in hierarchy when cancel latency

Likewise, it should remove latency output fields in hierarchy list.
Pass evlist to perf_hpp__cancel_latency() to handle them properly.

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-3-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-report.c
tools/perf/ui/hist.c
tools/perf/util/hist.h