[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] ebpf: fix compatibility with libbpf 1.0+
From: |
Daniel P . Berrangé |
Subject: |
Re: [PATCH] ebpf: fix compatibility with libbpf 1.0+ |
Date: |
Mon, 19 Dec 2022 10:56:57 +0000 |
User-agent: |
Mutt/2.2.7 (2022-08-07) |
On Sun, Dec 18, 2022 at 08:09:27PM +0530, Shreesh Adiga wrote:
> The current implementation fails to load on a system with
> libbpf 1.0 and reports that legacy map definitions in 'maps'
> section are not supported by libbpf v1.0+. This commit updates
> the Makefile to add BTF (-g flag) and appropriately updates
> the maps in rss.bpf.c and update the skeleton file in repo.
Can you split this into two pieces - one updating the build
system for new compiler usage, and one updating the program
to remove the legacy map defs.
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|