On Mon, 2024-07-08 at 13:45 -0700, Andrii Nakryiko wrote: > Improve how we handle old BPF skeletons when it comes to BPF map > auto-attachment. Emit one warn-level message per each struct_ops map > that could have been auto-attached, if user provided recent enough BPF > skeleton version. Don't spam log if there are no relevant struct_ops > maps, though. > > This should help users realize that they probably need to regenerate BPF > skeleton header with more recent bpftool/libbpf-cargo (or whatever other > means of BPF skeleton generation). > > Signed-off-by: Andrii Nakryiko <andrii@xxxxxxxxxx> > --- Acked-by: Eduard Zingerman <eddyz87@xxxxxxxxx>