On Mon, 04 Jun 2018 18:33:56 +0200, Toke Høiland-Jørgensen wrote: > + if (load_bpf_file(filename)) {
Would you mind using libbpf instead of bpf_load.o? I converted some samples in be5bca44aa6b ("samples: bpf: convert some XDP samples from bpf_load to libbpf"), it's pretty straight forward. Maybe we can kill bpf_load.o one day :)