On Wed, Sep 23, 2020 at 09:09:17AM -0700, Andrii Nakryiko wrote:
On Wed, Sep 23, 2020 at 7:06 AM Jiri Olsa [off-list ref] wrote:
damn I'm blind this week.. will send v3 with proper subject :-\
jirka
quoted
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 <redacted>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
---
v2 changes:
- disable resolve_btfids completely when CONFIG_BPF is not defined
Acked-by: Andrii Nakryiko <redacted>
[...]