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