selftest/bpf: Simple test for fentry/fexit
authorAlexei Starovoitov <ast@kernel.org>
Thu, 14 Nov 2019 18:57:07 +0000 (10:57 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 15 Nov 2019 22:42:46 +0000 (23:42 +0100)
commite41074d39d71aa62a6ec557af09cd42ca0928e05
tree60c0a8bce16a60d4e6788da4cebf0704cbf2cb97
parentb8c54ea455dc2e0bda7ea9b0370279c224e21045
selftest/bpf: Simple test for fentry/fexit

Add simple test for fentry and fexit programs around eth_type_trans.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20191114185720.1641606-8-ast@kernel.org
tools/testing/selftests/bpf/prog_tests/kfree_skb.c
tools/testing/selftests/bpf/progs/kfree_skb.c