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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 still fail. This patch adds
> check for whether pahole exists at all and bails out gracefully, if not.
> 
> Cc: Alexei Starovoitov <ast@xxxxxx>
> Reported-by: Yonghong Song <yhs@xxxxxx>
> Fixes: e83b9f55448a ("kbuild: add ability to generate BTF type info for vmlinux")
> Signed-off-by: Andrii Nakryiko <andriin@xxxxxx>

Applied, thanks!



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux