diff options
| author | Jiebin Sun <jiebin.sun@intel.com> | 2026-08-17 17:46:20 +0800 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2026-08-17 16:04:05 -0700 |
| commit | 473a047faa8f12cc529e31cdadaf8942fd6765a2 (patch) | |
| tree | e76fb0005f5046344e0ecbb6ee244bc04f6afc9a /scripts/Makefile.thinlto | |
| parent | 929c4ebb542ff3015385e9ba11294ff0cc68b7b6 (diff) | |
| download | linux-stable-473a047faa8f12cc529e31cdadaf8942fd6765a2.tar.gz linux-stable-473a047faa8f12cc529e31cdadaf8942fd6765a2.zip | |
perf c2c: add function view hierarchy entry creation
Add the entry-creation layer: owned-reference child allocation and
insertion, and the level-1/2/3 lookup-or-create functions keyed by
function symbol (level 1 read-side, level 2 writer) and by the source
cacheline's existing index (level 3).
Give synthetic children normal entry operations and acquire their thread
and map-symbol references. This lets the hierarchy teardown use
hist_entry__delete() for the common fields while the function-view free
callback handles the private child tree and containing allocation.
Reuse cacheline_idx to preserve the source entry identity without adding
function-view-only state. Add c2c_function__find_cacheline() to locate the
original cacheline entry by the same index.
These are driven by the hierarchy builder in the next patch 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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
