diff options
author | Vincent Whitchurch <vincent.whitchurch@axis.com> | 2022-11-25 12:42:09 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2023-06-16 15:04:28 +0200 |
commit | 66dc1920f6bbc172ee35520d024977d5330df842 (patch) | |
tree | 0e86939ae92cec9abaf53c1bb1821b0a34f71da6 /lib/Kconfig.kcsan | |
parent | perf vendor events arm64: Add default tags for Hisi hip08 L1 metrics (diff) | |
download | linux-66dc1920f6bbc172ee35520d024977d5330df842.tar.xz linux-66dc1920f6bbc172ee35520d024977d5330df842.zip |
perf annotate: Work with vmlinux outside symfs
It is currently possible to use --symfs along with a vmlinux which lies
outside of the symfs by passing an absolute path to --vmlinux, thanks to
the check in dso__load_vmlinux() which handles this explicitly.
However, the annotate code lacks this check and thus 'perf annotate'
does not work ("Internal error: Invalid -1 error code") for kernel
functions with this combination. Add the missing handling.
Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: kernel@axis.com
Link: https://lore.kernel.org/r/20221125114210.2353820-1-vincent.whitchurch@axis.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'lib/Kconfig.kcsan')
0 files changed, 0 insertions, 0 deletions