On Tue, Nov 17, 2020 at 6:58 AM Daniel T. Lee <danieltimlee@xxxxxxxxx> wrote: > > 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. > > Signed-off-by: Daniel T. Lee <danieltimlee@xxxxxxxxx> > --- RIP, bpf_load(). Probably makes more sense to combine this patch with the previous patch. Acked-by: Andrii Nakryiko <andrii@xxxxxxxxxx> > samples/bpf/bpf_load.c | 667 -------------------------------- > samples/bpf/bpf_load.h | 57 --- > samples/bpf/xdp2skb_meta_kern.c | 2 +- > 3 files changed, 1 insertion(+), 725 deletions(-) > delete mode 100644 samples/bpf/bpf_load.c > delete mode 100644 samples/bpf/bpf_load.h > [...]