diff options
author | Jiri Olsa <[email protected]> | 2020-08-26 23:30:17 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-09-03 16:04:46 -0300 |
commit | 830fadfd954c6782b7a8a2461c76a568c7153b9a (patch) | |
tree | d5fbb103985488c8b53237e81ee9e86d5fd51950 /include/linux/fpga/fpga-mgr.h | |
parent | e48a73a312ebf19cc3d72aa74985db25c30757c1 (diff) |
perf tools: Add bpf image check to __map__is_kmodule
When validating kcore modules the do_validate_kcore_modules function
checks on every kernel module dso against modules record. The
__map__is_kmodule check is used to get only kernel module dso objects
through.
Currently the bpf images are slipping through the check and making the
validation to fail, so report falls back from kcore usage to kallsyms.
Adding __map__is_bpf_image check for bpf image and adding it to
__map__is_kmodule check.
Fixes: 3c29d4483e85 ("perf annotate: Add basic support for bpf_image")
Signed-off-by: Jiri Olsa <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Michael Petlan <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions