Re: [bpf-next V3 PATCH 0/5] tools/libbpf improvements and selftests

2018-02-09 Thread Daniel Borkmann
On 02/09/2018 09:18 AM, Jesper Dangaard Brouer wrote: > On Fri, 9 Feb 2018 02:32:27 +0100 > Daniel Borkmann wrote: > >> On 02/08/2018 12:48 PM, Jesper Dangaard Brouer wrote: >>> While playing with using libbpf for the Suricata project, we had >>> issues LLVM >= 4.0.1

Re: [bpf-next V3 PATCH 0/5] tools/libbpf improvements and selftests

2018-02-09 Thread Jesper Dangaard Brouer
On Fri, 9 Feb 2018 02:32:27 +0100 Daniel Borkmann wrote: > On 02/08/2018 12:48 PM, Jesper Dangaard Brouer wrote: > > While playing with using libbpf for the Suricata project, we had > > issues LLVM >= 4.0.1 generating ELF files that could not be loaded > > with libbpf

Re: [bpf-next V3 PATCH 0/5] tools/libbpf improvements and selftests

2018-02-08 Thread Daniel Borkmann
On 02/08/2018 12:48 PM, Jesper Dangaard Brouer wrote: > While playing with using libbpf for the Suricata project, we had > issues LLVM >= 4.0.1 generating ELF files that could not be loaded > with libbpf (tools/lib/bpf/). > > During the troubleshooting phase, I wrote a test program and improved >

[bpf-next V3 PATCH 0/5] tools/libbpf improvements and selftests

2018-02-08 Thread Jesper Dangaard Brouer
While playing with using libbpf for the Suricata project, we had issues LLVM >= 4.0.1 generating ELF files that could not be loaded with libbpf (tools/lib/bpf/). During the troubleshooting phase, I wrote a test program and improved the debugging output in libbpf. I turned this into a selftests