Skip to content
Snippets Groups Projects
Commit 197a1372 authored by Shreesh Adiga's avatar Shreesh Adiga Committed by Jason Wang
Browse files

ebpf: fix compatibility with libbpf 1.0+


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.

Signed-off-by: default avatarShreesh Adiga <16567adigashreesh@gmail.com>
Signed-off-by: default avatarJason Wang <jasowang@redhat.com>
parent 136e9dba
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment