Re: [PATCH v2 bpf-next 3/3] libbpf: improve old BPF skeleton handling for map auto-attach

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

 



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>





[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