diff options
| author | Namhyung Kim <namhyung@kernel.org> | 2026-01-13 15:37:57 -0800 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2026-01-20 17:20:51 -0300 |
| commit | 069e603d8248dac98b1ef2909e2f1c4169b9da11 (patch) | |
| tree | ea33ec90adbe55a3a9a0e9beba7e02c1b2544406 /tools/perf/scripts/python/bin | |
| parent | b42c4dfe02af407d04375f070f56a818ed4c92ce (diff) | |
| download | linux-069e603d8248dac98b1ef2909e2f1c4169b9da11.tar.gz linux-069e603d8248dac98b1ef2909e2f1c4169b9da11.zip | |
perf tools: Get debug info of DSO properly
The dso__debuginfo() just used the path name to open the file but it may
be outdated. It should check build-ID and use the file in the build-ID
cache if available rather than just using the path name.
Let's factor out dso__get_filename() to avoid code duplicate.
Fixes: 53a61a6ca279165d ("perf annotate: Add dso__debuginfo() helper")
Reviewed-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: James Clark <james.clark@linaro.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
