aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2020-09-23 20:57:34 +0200
committerAlexei Starovoitov <[email protected]>2020-09-23 12:43:04 -0700
commit017dab341ee75c0d3675b9b3d28be28d38e6defc (patch)
tree6991516cdeb187ee2545a36a20a39e5c486d8142 /tools/perf/scripts/python
parent0789e13bc3f84f0adafe1935af036956638950f9 (diff)
bpf: Check CONFIG_BPF option for resolve_btfids
Currently all the resolve_btfids 'users' are under CONFIG_BPF code, so if we have CONFIG_BPF disabled, resolve_btfids will fail, because there's no data to resolve. Disabling resolve_btfids if there's CONFIG_BPF disabled, so we won't fail such builds. Suggested-by: Andrii Nakryiko <[email protected]> Signed-off-by: Jiri Olsa <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions