perf build-id: Mark DSO in sample callchains
authorIan Rogers <irogers@google.com>
Thu, 24 Jul 2025 16:32:44 +0000 (09:32 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Fri, 25 Jul 2025 17:37:55 +0000 (10:37 -0700)
commit29be60c93d2d9300571230edaa484930cdbec437
tree5503334f07c5fec2731ec148d112fdd9b02d1484
parentfccaaf6fbbc59910edcf276f97a5b2ef5778c55e
perf build-id: Mark DSO in sample callchains

Previously only the sample IP's map DSO would be marked hit for the
purposes of populating the build ID cache. Walk the call chain to mark
all IPs and DSOs.

Signed-off-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250724163302.596743-5-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/build-id.c