Skip to content

Commit

Permalink
ebpf: fix compatibility with libbpf 1.0+
Browse files Browse the repository at this point in the history
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: Shreesh Adiga <16567adigashreesh@gmail.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
  • Loading branch information
tantei3 authored and jasowang committed Mar 10, 2023
1 parent 136e9db commit 197a137
Show file tree
Hide file tree
Showing 3 changed files with 891 additions and 331 deletions.

0 comments on commit 197a137

Please sign in to comment.