]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1cd844b2e6bfdd304e34ff8dc6d2091165a29e71
tree14669a4abdeb23c6c940912b9f6213cba2cfb714
parent9a03c59795bb096afb4b33929da5349e0e3c5507
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