linux/tools/testing/selftests/bpf/progs
Stanislav Fomichev e1cebd841b selftests/bpf: Fix a couple of broken test_btf cases
Commit 51c39bb1d5 ("bpf: Introduce function-by-function verification")
introduced function linkage flag and changed the error message from
"vlen != 0" to "Invalid func linkage" and broke some fake BPF programs.

Adjust the test accordingly.

AFACT, the programs don't really need any arguments and only look
at BTF for maps, so let's drop the args altogether.

Before:
BTF raw test[103] (func (Non zero vlen)): do_test_raw:3703:FAIL expected
err_str:vlen != 0
magic: 0xeb9f
version: 1
flags: 0x0
hdr_len: 24
type_off: 0
type_len: 72
str_off: 72
str_len: 10
btf_total_size: 106
[1] INT (anon) size=4 bits_offset=0 nr_bits=32 encoding=SIGNED
[2] INT (anon) size=4 bits_offset=0 nr_bits=32 encoding=(none)
[3] FUNC_PROTO (anon) return=0 args=(1 a, 2 b)
[4] FUNC func type_id=3 Invalid func linkage

BTF libbpf test[1] (test_btf_haskv.o): libbpf: load bpf program failed:
Invalid argument
libbpf: -- BEGIN DUMP LOG ---
libbpf:
Validating test_long_fname_2() func#1...
Arg#0 type PTR in test_long_fname_2() is not supported yet.
processed 0 insns (limit 1000000) max_states_per_insn 0 total_states 0
peak_states 0 mark_read 0

libbpf: -- END LOG --
libbpf: failed to load program 'dummy_tracepoint'
libbpf: failed to load object 'test_btf_haskv.o'
do_test_file:4201:FAIL bpf_object__load: -4007
BTF libbpf test[2] (test_btf_newkv.o): libbpf: load bpf program failed:
Invalid argument
libbpf: -- BEGIN DUMP LOG ---
libbpf:
Validating test_long_fname_2() func#1...
Arg#0 type PTR in test_long_fname_2() is not supported yet.
processed 0 insns (limit 1000000) max_states_per_insn 0 total_states 0
peak_states 0 mark_read 0

libbpf: -- END LOG --
libbpf: failed to load program 'dummy_tracepoint'
libbpf: failed to load object 'test_btf_newkv.o'
do_test_file:4201:FAIL bpf_object__load: -4007
BTF libbpf test[3] (test_btf_nokv.o): libbpf: load bpf program failed:
Invalid argument
libbpf: -- BEGIN DUMP LOG ---
libbpf:
Validating test_long_fname_2() func#1...
Arg#0 type PTR in test_long_fname_2() is not supported yet.
processed 0 insns (limit 1000000) max_states_per_insn 0 total_states 0
peak_states 0 mark_read 0

libbpf: -- END LOG --
libbpf: failed to load program 'dummy_tracepoint'
libbpf: failed to load object 'test_btf_nokv.o'
do_test_file:4201:FAIL bpf_object__load: -4007

Fixes: 51c39bb1d5 ("bpf: Introduce function-by-function verification")
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200422003753.124921-1-sdf@google.com
2020-04-24 17:47:40 -07:00
..
bpf_cubic.c bpf: tcp: Add bpf_cubic example 2020-01-22 16:30:10 -08:00
bpf_dctcp.c bpf: Add tests for bpf_sk_storage to bpf_tcp_ca 2020-03-23 20:51:55 +01:00
bpf_flow.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
btf__core_reloc_arrays___diff_arr_dim.c selftests/bpf: add CO-RE relocs array tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_arrays___diff_arr_val_sz.c selftests/bpf: add CO-RE relocs array tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_arrays___equiv_zero_sz_arr.c selftests/bpf: Add flexible array relocation tests 2019-12-15 16:53:51 -08:00
btf__core_reloc_arrays___err_bad_zero_sz_arr.c selftests/bpf: Add flexible array relocation tests 2019-12-15 16:53:51 -08:00
btf__core_reloc_arrays___err_non_array.c selftests/bpf: add CO-RE relocs array tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_arrays___err_too_shallow.c selftests/bpf: add CO-RE relocs array tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_arrays___err_too_small.c selftests/bpf: add CO-RE relocs array tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_arrays___err_wrong_val_type.c selftests/bpf: Remove too strict field offset relo test cases 2019-11-04 16:06:56 +01:00
btf__core_reloc_arrays___fixed_arr.c selftests/bpf: Add flexible array relocation tests 2019-12-15 16:53:51 -08:00
btf__core_reloc_arrays.c selftests/bpf: add CO-RE relocs array tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_bitfields___bit_sz_change.c selftest/bpf: Add relocatable bitfield reading tests 2019-11-04 16:06:56 +01:00
btf__core_reloc_bitfields___bitfield_vs_int.c selftest/bpf: Add relocatable bitfield reading tests 2019-11-04 16:06:56 +01:00
btf__core_reloc_bitfields___err_too_big_bitfield.c selftest/bpf: Add relocatable bitfield reading tests 2019-11-04 16:06:56 +01:00
btf__core_reloc_bitfields___just_big_enough.c selftest/bpf: Add relocatable bitfield reading tests 2019-11-04 16:06:56 +01:00
btf__core_reloc_bitfields.c selftest/bpf: Add relocatable bitfield reading tests 2019-11-04 16:06:56 +01:00
btf__core_reloc_existence___err_wrong_arr_kind.c selftests/bpf: Add field existence CO-RE relocs tests 2019-10-15 16:06:05 -07:00
btf__core_reloc_existence___err_wrong_arr_value_type.c selftests/bpf: Add field existence CO-RE relocs tests 2019-10-15 16:06:05 -07:00
btf__core_reloc_existence___err_wrong_int_kind.c selftests/bpf: Add field existence CO-RE relocs tests 2019-10-15 16:06:05 -07:00
btf__core_reloc_existence___err_wrong_int_sz.c selftests/bpf: Add field existence CO-RE relocs tests 2019-10-15 16:06:05 -07:00
btf__core_reloc_existence___err_wrong_int_type.c selftests/bpf: Add field existence CO-RE relocs tests 2019-10-15 16:06:05 -07:00
btf__core_reloc_existence___err_wrong_struct_type.c selftests/bpf: Add field existence CO-RE relocs tests 2019-10-15 16:06:05 -07:00
btf__core_reloc_existence___minimal.c selftests/bpf: Add field existence CO-RE relocs tests 2019-10-15 16:06:05 -07:00
btf__core_reloc_existence.c selftests/bpf: Add field existence CO-RE relocs tests 2019-10-15 16:06:05 -07:00
btf__core_reloc_flavors__err_wrong_name.c selftests/bpf: add CO-RE relocs struct flavors tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_flavors.c selftests/bpf: add CO-RE relocs struct flavors tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_ints___bool.c selftests/bpf: add CO-RE relocs ints tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_ints___reverse_sign.c selftests/bpf: add CO-RE relocs ints tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_ints.c selftests/bpf: add CO-RE relocs ints tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_misc.c selftests/bpf: add CO-RE relocs misc tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_mods___mod_swap.c selftests/bpf: add CO-RE relocs modifiers/typedef tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_mods___typedefs.c selftests/bpf: add CO-RE relocs modifiers/typedef tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_mods.c selftests/bpf: add CO-RE relocs modifiers/typedef tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_nesting___anon_embed.c selftests/bpf: add CO-RE relocs nesting tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_nesting___dup_compat_types.c selftests/bpf: add CO-RE relocs nesting tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_nesting___err_array_container.c selftests/bpf: add CO-RE relocs nesting tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_nesting___err_array_field.c selftests/bpf: add CO-RE relocs nesting tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_nesting___err_dup_incompat_types.c selftests/bpf: add CO-RE relocs nesting tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_nesting___err_missing_container.c selftests/bpf: add CO-RE relocs nesting tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_nesting___err_missing_field.c selftests/bpf: add CO-RE relocs nesting tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_nesting___err_nonstruct_container.c selftests/bpf: add CO-RE relocs nesting tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_nesting___err_partial_match_dups.c selftests/bpf: add CO-RE relocs nesting tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_nesting___err_too_deep.c selftests/bpf: add CO-RE relocs nesting tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_nesting___extra_nesting.c selftests/bpf: add CO-RE relocs nesting tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_nesting___struct_union_mixup.c selftests/bpf: add CO-RE relocs nesting tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_nesting.c selftests/bpf: add CO-RE relocs nesting tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_primitives___diff_enum_def.c selftests/bpf: add CO-RE relocs enum/ptr/func_proto tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_primitives___diff_func_proto.c selftests/bpf: add CO-RE relocs enum/ptr/func_proto tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_primitives___diff_ptr_type.c selftests/bpf: add CO-RE relocs enum/ptr/func_proto tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_primitives___err_non_enum.c selftests/bpf: add CO-RE relocs enum/ptr/func_proto tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_primitives___err_non_int.c selftests/bpf: add CO-RE relocs enum/ptr/func_proto tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_primitives___err_non_ptr.c selftests/bpf: add CO-RE relocs enum/ptr/func_proto tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_primitives.c selftests/bpf: add CO-RE relocs enum/ptr/func_proto tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_ptr_as_arr___diff_sz.c selftests/bpf: add CO-RE relocs ptr-as-array tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_ptr_as_arr.c selftests/bpf: add CO-RE relocs ptr-as-array tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_size___diff_sz.c selftests/bpf: Add field size relocation tests 2019-11-04 16:06:56 +01:00
btf__core_reloc_size.c selftests/bpf: Add field size relocation tests 2019-11-04 16:06:56 +01:00
btf_dump_test_case_bitfields.c selftests/bpf: add btf_dump BTF-to-C conversion tests 2019-05-24 14:05:58 -07:00
btf_dump_test_case_multidim.c selftests/bpf: add btf_dump BTF-to-C conversion tests 2019-05-24 14:05:58 -07:00
btf_dump_test_case_namespacing.c selftests/bpf: add btf_dump BTF-to-C conversion tests 2019-05-24 14:05:58 -07:00
btf_dump_test_case_ordering.c selftests/bpf: add btf_dump BTF-to-C conversion tests 2019-05-24 14:05:58 -07:00
btf_dump_test_case_packing.c selftests/bpf: add btf_dump BTF-to-C conversion tests 2019-05-24 14:05:58 -07:00
btf_dump_test_case_padding.c selftests/bpf: Fix btf_dump padding test case 2019-10-09 15:38:36 -07:00
btf_dump_test_case_syntax.c libbpf: Assume unsigned values for BTF_KIND_ENUM 2020-03-04 17:00:06 +01:00
connect4_prog.c selftests/bpf: Add test for freplace program with expected_attach_type 2020-04-24 17:34:30 -07:00
connect6_prog.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
core_reloc_types.h selftests/bpf: Add flexible array relocation tests 2019-12-15 16:53:51 -08:00
dev_cgroup.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
fentry_test.c libbpf: Merge selftests' bpf_trace_helpers.h into libbpf's bpf_tracing.h 2020-03-02 16:25:14 -08:00
fexit_bpf2bpf_simple.c libbpf: Merge selftests' bpf_trace_helpers.h into libbpf's bpf_tracing.h 2020-03-02 16:25:14 -08:00
fexit_bpf2bpf.c libbpf: Merge selftests' bpf_trace_helpers.h into libbpf's bpf_tracing.h 2020-03-02 16:25:14 -08:00
fexit_test.c libbpf: Merge selftests' bpf_trace_helpers.h into libbpf's bpf_tracing.h 2020-03-02 16:25:14 -08:00
freplace_connect4.c selftests/bpf: Add test for freplace program with expected_attach_type 2020-04-24 17:34:30 -07:00
get_cgroup_id_kern.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
kfree_skb.c libbpf: Merge selftests' bpf_trace_helpers.h into libbpf's bpf_tracing.h 2020-03-02 16:25:14 -08:00
loop1.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
loop2.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
loop3.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
loop4.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
loop5.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
lsm.c bpf, lsm: Fix the file_mprotect LSM test. 2020-04-02 19:42:52 -07:00
modify_return.c bpf: Add selftests for BPF_MODIFY_RETURN 2020-03-04 13:41:06 -08:00
netcnt_prog.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
pyperf50.c selftests/bpf: add pyperf scale test 2019-05-23 16:20:57 +02:00
pyperf100.c selftests/bpf: add pyperf scale test 2019-05-23 16:20:57 +02:00
pyperf180.c selftests/bpf: add pyperf scale test 2019-05-23 16:20:57 +02:00
pyperf600_nounroll.c selftests/bpf: add realistic loop tests 2019-06-19 02:22:52 +02:00
pyperf600.c selftests/bpf: add realistic loop tests 2019-06-19 02:22:52 +02:00
pyperf_global.c selftests/bpf: Add a test for a large global function 2020-01-10 17:20:07 +01:00
pyperf.h selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
sample_map_ret0.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
sample_ret0.c
sendmsg4_prog.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
sendmsg6_prog.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
socket_cookie_prog.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
sockmap_parse_prog.c selftest/bpf: Fix compilation warning in sockmap_parse_prog.c 2020-03-17 19:28:27 +01:00
sockmap_tcp_msg_prog.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
sockmap_verdict_prog.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
sockopt_inherit.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
sockopt_multi.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
sockopt_sk.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
strobemeta_nounroll1.c selftests/bpf: add realistic loop tests 2019-06-19 02:22:52 +02:00
strobemeta_nounroll2.c selftests/bpf: add realistic loop tests 2019-06-19 02:22:52 +02:00
strobemeta.c selftests/bpf: add realistic loop tests 2019-06-19 02:22:52 +02:00
strobemeta.h selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
tailcall1.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
tailcall2.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
tailcall3.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
tailcall4.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
tailcall5.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
tcp_rtt.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_adjust_tail.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_attach_probe.c libbpf: Merge selftests' bpf_trace_helpers.h into libbpf's bpf_tracing.h 2020-03-02 16:25:14 -08:00
test_btf_haskv.c selftests/bpf: Fix a couple of broken test_btf cases 2020-04-24 17:47:40 -07:00
test_btf_newkv.c selftests/bpf: Fix a couple of broken test_btf cases 2020-04-24 17:47:40 -07:00
test_btf_nokv.c selftests/bpf: Fix a couple of broken test_btf cases 2020-04-24 17:47:40 -07:00
test_cgroup_link.c selftests/bpf: Test FD-based cgroup attachment 2020-03-30 17:36:41 -07:00
test_core_extern.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_core_reloc_arrays.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_core_reloc_bitfields_direct.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_core_reloc_bitfields_probed.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_core_reloc_existence.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_core_reloc_flavors.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_core_reloc_ints.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_core_reloc_kernel.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_core_reloc_misc.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_core_reloc_mods.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_core_reloc_nesting.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_core_reloc_primitives.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_core_reloc_ptr_as_arr.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_core_reloc_size.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_get_stack_rawtp_err.c bpf: Test_progs, add test to catch retval refine error handling 2020-03-30 15:00:30 -07:00
test_get_stack_rawtp.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_global_data.c selftests: Add test for overriding global data value before load 2020-03-30 01:17:35 +02:00
test_global_func1.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_global_func2.c selftests/bpf: Add unit tests for global functions 2020-01-10 17:20:07 +01:00
test_global_func3.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_global_func4.c selftests/bpf: Add unit tests for global functions 2020-01-10 17:20:07 +01:00
test_global_func5.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_global_func6.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_global_func7.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_jhash.h selftests: bpf: standardize to static __always_inline 2019-07-03 15:06:33 +02:00
test_l4lb_noinline.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_l4lb.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_link_pinning.c selftests/bpf: Add link pinning selftests 2020-03-02 22:06:27 -08:00
test_lirc_mode2_kern.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_lwt_ip_encap.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_lwt_seg6local.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_map_in_map.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_map_lock.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_mmap.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_ns_current_pid_tgid.c tools/testing/selftests/bpf: Add self-tests for new helper bpf_get_ns_current_pid_tgid. 2020-03-12 17:40:47 -07:00
test_obj_id.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_overhead.c libbpf: Merge selftests' bpf_trace_helpers.h into libbpf's bpf_tracing.h 2020-03-02 16:25:14 -08:00
test_perf_branches.c libbpf: Merge selftests' bpf_trace_helpers.h into libbpf's bpf_tracing.h 2020-03-02 16:25:14 -08:00
test_perf_buffer.c libbpf: Merge selftests' bpf_trace_helpers.h into libbpf's bpf_tracing.h 2020-03-02 16:25:14 -08:00
test_pinning_invalid.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_pinning.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_pkt_access.c selftests/bpf: Add tests for program extensions 2020-01-22 23:04:53 +01:00
test_pkt_md_access.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_probe_user.c libbpf: Merge selftests' bpf_trace_helpers.h into libbpf's bpf_tracing.h 2020-03-02 16:25:14 -08:00
test_queue_map.c
test_queue_stack_map.h selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_rdonly_maps.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_seg6_loop.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_select_reuseport_kern.c selftests: bpf: Ignore FIN packets for reuseport tests 2020-01-24 22:12:13 +01:00
test_send_signal_kern.c selftests/bpf: Add send_signal_sched_switch test 2020-03-05 14:02:41 -08:00
test_sk_assign.c selftests: bpf: Extend sk_assign tests for UDP 2020-03-30 13:45:05 -07:00
test_sk_lookup_kern.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_skb_cgroup_id_kern.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_skb_ctx.c selftests/bpf: Test new __sk_buff field gso_size 2020-03-03 16:23:59 -08:00
test_skeleton.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_sock_fields_kern.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_sockhash_kern.c
test_sockmap_kern.c
test_sockmap_listen.c selftests/bpf: Tests for sockmap/sockhash holding listening sockets 2020-02-21 22:29:46 +01:00
test_spin_lock.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_stack_map.c
test_stacktrace_build_id.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_stacktrace_map.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_sysctl_loop1.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_sysctl_loop2.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_sysctl_prog.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_tc_edt.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_tc_tunnel.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_tcp_check_syncookie_kern.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_tcp_estats.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_tcpbpf_kern.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_tcpnotify_kern.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_tracepoint.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_trampoline_count.c libbpf: Merge selftests' bpf_trace_helpers.h into libbpf's bpf_tracing.h 2020-03-02 16:25:14 -08:00
test_tunnel_kern.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_verif_scale1.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_verif_scale2.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_verif_scale3.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_vmlinux.c selftests/bpf: Add vmlinux.h selftest exercising tracing of syscalls 2020-03-13 23:30:53 +01:00
test_xdp_bpf2bpf.c bpf: Add bpf_xdp_output() helper 2020-03-12 17:47:38 -07:00
test_xdp_loop.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_xdp_meta.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_xdp_noinline.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_xdp_redirect.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_xdp_vlan.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_xdp.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
xdp_dummy.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
xdp_redirect_map.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
xdp_tx.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
xdping_kern.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00