Thread (5 messages) 5 messages, 3 authors, 2020-09-23

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

From: Jiri Olsa <hidden>
Date: 2020-09-23 18:47:57
Also in: bpf

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>

[...]
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help