aboutsummaryrefslogtreecommitdiffstats
path: root/samples/bpf/syscall_tp_user.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2018-05-10 17:24:43 +0000
committerDaniel Borkmann <[email protected]>2018-05-10 23:44:17 +0000
commitbe5bca44aa6b37b88e900d5f5f155911d6984d86 (patch)
tree880940e6af0c8352acc8c5f2158ec1457a2dc08c /samples/bpf/syscall_tp_user.c
parenttools: bpf: don't complain about no kernel version for networking code (diff)
downloadkernel-be5bca44aa6b37b88e900d5f5f155911d6984d86.tar.gz
kernel-be5bca44aa6b37b88e900d5f5f155911d6984d86.zip
samples: bpf: convert some XDP samples from bpf_load to libbpf
Now that we can use full powers of libbpf in BPF samples, we should perhaps make the simplest XDP programs not depend on bpf_load helpers. This way newcomers will be exposed to the recommended library from the start. Use of bpf_prog_load_xattr() will also make it trivial to later on request offload of the programs by simply adding ifindex to the xattr. Signed-off-by: Jakub Kicinski <[email protected]> Reviewed-by: Quentin Monnet <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'samples/bpf/syscall_tp_user.c')
0 files changed, 0 insertions, 0 deletions