Re: [PATCH bpf] scripts: require pahole v1.16 when generating BTF

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

 



On Mon, Jun 8, 2020 at 10:33 AM Yonghong Song <yhs@xxxxxx> wrote:
>
>
> On 6/8/20 2:42 AM, Lorenz Bauer wrote:
> > bpf_iter requires the kernel BTF to be generated with
> > pahole >= 1.16, since otherwise the function definitions
> > that the iterator attaches to are not included.
> > This failure mode is indistiguishable from trying to attach
> > to an iterator that really doesn't exist.
> >
> > Since it's really easy to miss this requirement, bump the
> > pahole version check used at build time to at least 1.16.
> >
> > Fixes: 15d83c4d7cef ("bpf: Allow loading of a bpf_iter program")
> > Suggested-by: Ivan Babrou <ivan@xxxxxxxxxxxxxx>
> > Signed-off-by: Lorenz Bauer <lmb@xxxxxxxxxxxxxx>
>
> Acked-by: Yonghong Song <yhs@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