On Wed, Sep 23, 2020 at 7:06 AM Jiri Olsa <jolsa@xxxxxxxxxx> 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 fail such builds. > > Suggested-by: Andrii Nakryiko <andriin@xxxxxx> > Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx> > --- > v2 changes: > - disable resolve_btfids completely when CONFIG_BPF is not defined Acked-by: Andrii Nakryiko <andriin@xxxxxx> [...]