samples: bpf: Remove bpf_load loader completely
authorDaniel T. Lee <danieltimlee@gmail.com>
Tue, 24 Nov 2020 09:03:10 +0000 (09:03 +0000)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 27 Nov 2020 03:33:36 +0000 (19:33 -0800)
commitceb5dea5654354fb4e6e393c99f1d0bf4debab0e
tree14669a4abdeb23c6c940912b9f6213cba2cfb714
parent0afe0a998c40085a6342e1aeb4c510cccba46caf
samples: bpf: Remove bpf_load loader completely

Numerous refactoring that rewrites BPF programs written with bpf_load
to use the libbpf loader was finally completed, resulting in BPF
programs using bpf_load within the kernel being completely no longer
present.

This commit removes bpf_load, an outdated bpf loader that is difficult
to keep up with the latest kernel BPF and causes confusion.

Also, this commit removes the unused trace_helper and bpf_load from
samples/bpf target objects from Makefile.

Signed-off-by: Daniel T. Lee <danieltimlee@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20201124090310.24374-8-danieltimlee@gmail.com
samples/bpf/Makefile
samples/bpf/bpf_load.c [deleted file]
samples/bpf/bpf_load.h [deleted file]
samples/bpf/xdp2skb_meta_kern.c