summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorJiebin Sun <jiebin.sun@intel.com>2026-08-17 17:46:19 +0800
committerNamhyung Kim <namhyung@kernel.org>2026-08-17 16:04:05 -0700
commit929c4ebb542ff3015385e9ba11294ff0cc68b7b6 (patch)
tree75d58c89918fad2bc9dbbb76726fcba3d87aae8d /tools/lib/python
parente888662432362ccf589c7b6919464cbc22064552 (diff)
downloadlinux-929c4ebb542ff3015385e9ba11294ff0cc68b7b6.tar.gz
linux-929c4ebb542ff3015385e9ba11294ff0cc68b7b6.zip
perf c2c: add function view stats merge and memory management
Add the per-entry stats/cstats aggregation helpers and hierarchy teardown. Child common fields are released through hist_entry__delete(), while the function-view free callback handles the private child tree and containing allocation. Also add a helper for pruning writer entries with no stores or cacheline children. These are used by the entry-creation and builder patches that follow and are __maybe_unused until then. Signed-off-by: Jiebin Sun <jiebin.sun@intel.com> Reviewed-by: Tianyou Li <tianyou.li@intel.com> Reviewed-by: Wangyang Guo <wangyang.guo@intel.com> Reviewed-by: Ian Rogers <irogers@google.com> Cc: Dapeng Mi <dapeng1.mi@linux.intel.com> Cc: James Clark <james.clark@linaro.org> Cc: Thomas Falcon <thomas.falcon@intel.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions