aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/api/fd/array.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2022-02-01 23:08:27 -0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-02-10 15:33:51 -0300
commit75d48c56703dcce45cf4d7262dbf7113c5e6607f (patch)
treeef09fd1186555b4cf789721a25fd242adc1b28bf /tools/lib/api/fd/array.c
parent67fd18924647bdcafab18c2945a79ddea73653de (diff)
perf inject: Try chroot directory when reading build-id
When reading build-id from a DSO, it should consider if it's from a chroot task. In that case, the path is different so it needs to prepend the root directory to access the file correctly. Signed-off-by: Namhyung Kim <namhyung@kernel.org> Acked-by: Jiri Olsa <jolsa@kernel.org> Cc: Andi Kleen <ak@linux.intel.com> Cc: Ian Rogers <irogers@google.com> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lore.kernel.org/lkml/20220202070828.143303-4-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/lib/api/fd/array.c')
0 files changed, 0 insertions, 0 deletions