Re: [PATCH bpf] kbuild: tolerate missing pahole when generating BTF

2019-05-06 Thread Daniel Borkmann
On 05/06/2019 02:10 AM, Andrii Nakryiko wrote: > When BTF generation is enabled through CONFIG_DEBUG_INFO_BTF, > scripts/link-vmlinux.sh detects if pahole version is too old and > gracefully continues build process, skipping BTF generation build step. > But if pahole is not available, build will st

[PATCH bpf] kbuild: tolerate missing pahole when generating BTF

2019-05-05 Thread Andrii Nakryiko
When BTF generation is enabled through CONFIG_DEBUG_INFO_BTF, scripts/link-vmlinux.sh detects if pahole version is too old and gracefully continues build process, skipping BTF generation build step. But if pahole is not available, build will still fail. This patch adds check for whether pahole exis