strang1ato / nhi

:tv: Automatically capture all potentially useful information about each executed command (as well as its output) and get powerful querying mechanism
GNU General Public License v3.0
295 stars 11 forks source link

libbpf: elf: legacy map definitions in 'maps' section are not supported by libbpf v1.0+ #19

Closed kamheric closed 1 year ago

kamheric commented 1 year ago

eBPF 1.0 : Support for legacy BPF map definitions in SEC("maps") was completely dropped.

so, i cant try nhi on my ArchLinux : journalctl -u nhid.service

nhid[4612]: libbpf: elf: legacy map definitions in 'maps' section are not supported by libbpf v1.0+

strang1ato commented 1 year ago

Thank you for showing interest in this project and for reporting this urgent issue. Fixed by https://github.com/strang1ato/nhi/commit/f800717f80296007d97438e62e5bbc58f1a800d7