Re: [PATCHv2 bpf-next 1/2] bpf: Use --no-fail option if CONFIG_BPF is not enabled

2020-09-23 Thread Jiri Olsa
On Wed, Sep 23, 2020 at 09:09:17AM -0700, Andrii Nakryiko wrote: > On Wed, Sep 23, 2020 at 7:06 AM Jiri Olsa wrote: damn I'm blind this week.. will send v3 with proper subject :-\ jirka > > > > Currently all the resolve_btfids 'users' are under CONFIG_BPF > > code, so if we have CONFIG_BPF disa

Re: [PATCHv2 bpf-next 1/2] bpf: Use --no-fail option if CONFIG_BPF is not enabled

2020-09-23 Thread Andrii Nakryiko
On Wed, Sep 23, 2020 at 7:06 AM Jiri Olsa wrote: > > 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 f

[PATCHv2 bpf-next 1/2] bpf: Use --no-fail option if CONFIG_BPF is not enabled

2020-09-23 Thread Jiri Olsa
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 Signed-off-by: