linux-stable/tools/testing/selftests/bpf/progs
Alexei Starovoitov b126882672 libbpf: Change the order of data and text relocations.
In order to be able to generate loader program in the later
patches change the order of data and text relocations.
Also improve the test to include data relos.

If the kernel supports "FD array" the map_fd relocations can be processed
before text relos since generated loader program won't need to manually
patch ld_imm64 insns with map_fd.
But ksym and kfunc relocations can only be processed after all calls
are relocated, since loader program will consist of a sequence
of calls to bpf_btf_find_by_name_kind() followed by patching of btf_id
and btf_obj_fd into corresponding ld_imm64 insns. The locations of those
ld_imm64 insns are specified in relocations.
Hence process all data relocations (maps, ksym, kfunc) together after call relos.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210514003623.28033-12-alexei.starovoitov@gmail.com
2021-05-19 00:33:40 +02:00
..
atomic_bounds.c bpf: Propagate stack bounds to registers in atomics w/ BPF_FETCH 2021-02-02 18:23:29 -08:00
atomics.c bpf: Add tests for new BPF atomic operations 2021-01-14 18:34:29 -08:00
bind4_prog.c bpf: Add getter and setter for SO_REUSEPORT through bpf_{g,s}etsockopt 2021-03-15 17:22:22 +01:00
bind6_prog.c bpf: Add getter and setter for SO_REUSEPORT through bpf_{g,s}etsockopt 2021-03-15 17:22:22 +01:00
bind_perm.c selftests/bpf: Verify that rebinding to port < 1024 from BPF works 2021-01-27 18:18:15 -08:00
bpf_cubic.c bpf: selftests: Bpf_cubic and bpf_dctcp calling kernel functions 2021-03-26 20:41:52 -07:00
bpf_dctcp.c bpf: selftests: Bpf_cubic and bpf_dctcp calling kernel functions 2021-03-26 20:41:52 -07:00
bpf_flow.c selftest/bpf: Fix IPV6FR handling in flow dissector 2020-11-16 16:23:29 +01:00
bpf_iter.h selftests/bpf: Add test for bpf_iter_task_vma 2021-02-12 12:56:54 -08:00
bpf_iter_bpf_array_map.c selftests/bpf: Add test for bpf array map iterators 2020-07-25 20:16:34 -07:00
bpf_iter_bpf_hash_map.c selftests/bpf: Add bpf_{update, delete}_map_elem in hashmap iter program 2020-09-03 17:36:41 -07:00
bpf_iter_bpf_map.c bpf: Eliminate rlimit-based memory accounting infra for bpf maps 2020-12-02 18:32:47 -08:00
bpf_iter_bpf_percpu_array_map.c selftests/bpf: Add test for bpf array map iterators 2020-07-25 20:16:34 -07:00
bpf_iter_bpf_percpu_hash_map.c selftests/bpf: Add test for bpf hash map iterators 2020-07-25 20:16:33 -07:00
bpf_iter_bpf_sk_storage_helpers.c selftests/bpf: Test bpf_sk_storage_get in tcp iterators 2020-12-04 22:32:40 +01:00
bpf_iter_bpf_sk_storage_map.c selftests/bpf: Add a test for bpf sk_storage_map iterator 2020-07-25 20:16:34 -07:00
bpf_iter_ipv6_route.c selftests/bpf: Refactor some net macros to bpf_tracing_net.h 2020-06-24 18:37:59 -07:00
bpf_iter_netlink.c samples/bpf, selftests/bpf: Use bpf_probe_read_kernel 2020-07-21 13:26:26 -07:00
bpf_iter_sockmap.c selftest: bpf: Test copying a sockmap and sockhash 2020-09-28 16:48:02 -07:00
bpf_iter_task.c selftests/bpf: Add a test for ptr_to_map_value on stack for helper access 2020-12-14 21:50:10 +01:00
bpf_iter_task_btf.c selftests/bpf: Add test for bpf_seq_printf_btf helper 2020-09-28 18:26:58 -07:00
bpf_iter_task_file.c selftests/bpf: Test task_file iterator without visiting pthreads 2020-09-02 16:40:33 +02:00
bpf_iter_task_stack.c bpf/selftests: Add bpf_get_task_stack retval bounds test_prog 2021-04-19 18:23:33 -07:00
bpf_iter_task_vma.c selftests/bpf: Add test for bpf_iter_task_vma 2021-02-12 12:56:54 -08:00
bpf_iter_tcp4.c samples/bpf, selftests/bpf: Use bpf_probe_read_kernel 2020-07-21 13:26:26 -07:00
bpf_iter_tcp6.c samples/bpf, selftests/bpf: Use bpf_probe_read_kernel 2020-07-21 13:26:26 -07:00
bpf_iter_test_kern1.c tools/bpf: selftests: Add bpf_iter selftests 2020-05-09 17:05:27 -07:00
bpf_iter_test_kern2.c tools/bpf: selftests: Add bpf_iter selftests 2020-05-09 17:05:27 -07:00
bpf_iter_test_kern3.c selftests/bpf: Move newer bpf_iter_* type redefining to a new header file 2020-06-24 18:37:59 -07:00
bpf_iter_test_kern4.c selftests/bpf: Stop using static variables for passing data to/from user-space 2021-05-11 15:07:17 -07:00
bpf_iter_test_kern5.c selftests/bpf: Add a test for out of bound rdonly buf access 2020-07-25 20:16:34 -07:00
bpf_iter_test_kern6.c selftests/bpf: Test bpf_iter buffer access with negative offset 2020-07-31 00:43:49 +02:00
bpf_iter_test_kern_common.h selftests/bpf: Move newer bpf_iter_* type redefining to a new header file 2020-06-24 18:37:59 -07:00
bpf_iter_udp4.c samples/bpf, selftests/bpf: Use bpf_probe_read_kernel 2020-07-21 13:26:26 -07:00
bpf_iter_udp6.c samples/bpf, selftests/bpf: Use bpf_probe_read_kernel 2020-07-21 13:26:26 -07:00
bpf_tcp_nogpl.c bpf/selftests: Test that kernel rejects a TCP CC with an invalid license 2021-03-26 17:51:02 +01:00
bpf_tracing_net.h selftests/bpf: Add more common macros to bpf_tracing_net.h 2020-06-24 18:37:59 -07:00
bprm_opts.c selftests/bpf: Fix a compile error for BPF_F_BPRM_SECUREEXEC 2020-12-29 15:16:21 +01: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_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_bitfields.c selftest/bpf: Add relocatable bitfield reading tests 2019-11-04 16:06:56 +01: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_enumval.c selftests/bpf: Add tests for ENUMVAL_EXISTS/ENUMVAL_VALUE relocations 2020-08-19 14:19:39 -07:00
btf__core_reloc_enumval___diff.c selftests/bpf: Add tests for ENUMVAL_EXISTS/ENUMVAL_VALUE relocations 2020-08-19 14:19:39 -07:00
btf__core_reloc_enumval___err_missing.c selftests/bpf: Add tests for ENUMVAL_EXISTS/ENUMVAL_VALUE relocations 2020-08-19 14:19:39 -07:00
btf__core_reloc_enumval___val3_missing.c selftests/bpf: Add tests for ENUMVAL_EXISTS/ENUMVAL_VALUE relocations 2020-08-19 14:19:39 -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_existence___minimal.c selftests/bpf: Add field existence CO-RE relocs tests 2019-10-15 16:06:05 -07:00
btf__core_reloc_existence___wrong_field_defs.c selftests/bpf: Fix field existence CO-RE reloc tests 2021-04-26 18:37:13 -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_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_ints.c selftests/bpf: add CO-RE relocs ints 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_misc.c selftests/bpf: add CO-RE relocs misc 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_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_nesting.c selftests/bpf: add CO-RE relocs nesting 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_primitives.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_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_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_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_size.c selftests/bpf: Add field size relocation tests 2019-11-04 16:06:56 +01: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___err_ambiguous.c selftests/bpf: Add test validating failure on ambiguous relocation value 2020-08-18 18:12:46 -07:00
btf__core_reloc_type_based.c selftests/bpf: Test TYPE_EXISTS and TYPE_SIZE CO-RE relocations 2020-08-19 14:19:39 -07:00
btf__core_reloc_type_based___all_missing.c selftests/bpf: Test TYPE_EXISTS and TYPE_SIZE CO-RE relocations 2020-08-19 14:19:39 -07:00
btf__core_reloc_type_based___diff_sz.c selftests/bpf: Test TYPE_EXISTS and TYPE_SIZE CO-RE relocations 2020-08-19 14:19:39 -07:00
btf__core_reloc_type_based___fn_wrong_args.c selftests/bpf: Test TYPE_EXISTS and TYPE_SIZE CO-RE relocations 2020-08-19 14:19:39 -07:00
btf__core_reloc_type_based___incompat.c selftests/bpf: Test TYPE_EXISTS and TYPE_SIZE CO-RE relocations 2020-08-19 14:19:39 -07:00
btf__core_reloc_type_id.c selftests/bpf: Add CO-RE relo test for TYPE_ID_LOCAL/TYPE_ID_TARGET 2020-08-19 14:19:39 -07:00
btf__core_reloc_type_id___missing_targets.c selftests/bpf: Add CO-RE relo test for TYPE_ID_LOCAL/TYPE_ID_TARGET 2020-08-19 14:19:39 -07:00
btf_data.c selftests/bpf: Add test for resolve_btfids 2020-07-13 10:42:03 -07: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 Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-03-25 15:31:22 -07:00
btf_ptr.h selftests/bpf: Ensure snprintf_btf/bpf_iter tests compatibility with old vmlinux.h 2020-09-29 11:10:48 -07:00
cg_storage_multi.h selftests/bpf: Test CGROUP_STORAGE map can't be used by multiple progs 2020-07-25 20:16:35 -07:00
cg_storage_multi_egress_only.c selftests/bpf: Test CGROUP_STORAGE map can't be used by multiple progs 2020-07-25 20:16:35 -07:00
cg_storage_multi_isolated.c selftests/bpf: Test CGROUP_STORAGE behavior on shared egress + ingress 2020-07-25 20:16:36 -07:00
cg_storage_multi_shared.c selftests/bpf: Test CGROUP_STORAGE behavior on shared egress + ingress 2020-07-25 20:16:36 -07:00
cgroup_skb_sk_lookup_kern.c selftests/bpf: Test for sk helpers in cgroup skb 2020-05-14 18:41:08 -07:00
connect4_prog.c bpf: Add tcp_notsent_lowat bpf setsockopt 2020-10-09 17:12:03 +02:00
connect6_prog.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
connect_force_port4.c bpf: Enable bpf_{g,s}etsockopt in BPF_CGROUP_INET{4,6}_GET{PEER,SOCK}NAME 2021-01-29 02:09:05 +01:00
connect_force_port6.c bpf: Enable bpf_{g,s}etsockopt in BPF_CGROUP_INET{4,6}_GET{PEER,SOCK}NAME 2021-01-29 02:09:05 +01:00
core_reloc_types.h selftests/bpf: Fix field existence CO-RE reloc tests 2021-04-26 18:37:13 -07:00
dev_cgroup.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
fentry_test.c bpf: Fix warning comparing pointer to 0 2021-03-10 13:37:33 -08:00
fexit_bpf2bpf.c selftests/bpf: Add test for freplace program with write access 2020-08-26 12:47:56 -07: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_sleep.c selftest/bpf: Add a test to check trampoline freeing logic. 2021-03-18 17:13:42 +01:00
fexit_test.c selftests/bpf: Fix warning comparing pointer to 0 2021-03-16 23:52:16 +01:00
fmod_ret_freplace.c selftests: Add selftest for disallowing modify_return attachment to freplace 2020-09-29 13:09:24 -07:00
for_each_array_map_elem.c selftests/bpf: Add arraymap test for bpf_for_each_map_elem() helper 2021-02-26 13:23:53 -08:00
for_each_hash_map_elem.c selftests/bpf: Add hashmap test for bpf_for_each_map_elem() helper 2021-02-26 13:23:53 -08:00
freplace_attach_probe.c selftests/bpf: Test for map update access from within EXT programs 2020-08-26 12:47:56 -07:00
freplace_cls_redirect.c selftests/bpf: Test for map update access from within EXT programs 2020-08-26 12:47:56 -07:00
freplace_connect4.c selftests/bpf: Add test for freplace program with expected_attach_type 2020-04-24 17:34:30 -07:00
freplace_connect_v4_prog.c selftests/bpf: Test for checking return code for the extended prog 2020-08-26 12:47:56 -07:00
freplace_get_constant.c selftests: Add selftest for disallowing modify_return attachment to freplace 2020-09-29 13:09:24 -07:00
get_cgroup_id_kern.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
ima.c bpf/selftests: Update the IMA test to use BPF ring buffer 2021-02-04 16:35:05 -08:00
kfree_skb.c selftests/bpf: Stop using static variables for passing data to/from user-space 2021-05-11 15:07:17 -07:00
kfunc_call_test.c bpf: selftests: Add kfunc_call test 2021-03-26 20:41:52 -07:00
kfunc_call_test_subprog.c bpf: selftests: Add kfunc_call test 2021-03-26 20:41:52 -07:00
linked_funcs1.c selftests/bpf: Add function linking selftest 2021-04-23 14:05:27 -07:00
linked_funcs2.c selftests/bpf: Add function linking selftest 2021-04-23 14:05:27 -07:00
linked_maps1.c selftests/bpf: Validate skeleton gen handles skipped fields 2021-05-13 17:23:57 -07:00
linked_maps2.c selftests/bpf: Add map linking selftest 2021-04-23 14:05:27 -07:00
linked_vars1.c selftests/bpf: Add global variables linking selftest 2021-04-23 14:05:27 -07:00
linked_vars2.c selftests/bpf: Add global variables linking selftest 2021-04-23 14:05:27 -07:00
load_bytes_relative.c selftests/bpf: Add cgroup_skb/egress test for load_bytes_relative 2020-06-11 16:05:56 +02:00
local_storage.c bpf: Update local storage test to check handling of null ptrs 2021-01-12 16:07:57 +01: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
loop6.c selftests/bpf: Fix compiler warning in BPF_KPROBE definition in loop6.c 2021-03-10 00:11:16 +01:00
lsm.c selftests/bpf: Add a test for map-in-map and per-cpu maps in sleepable progs 2021-02-11 16:19:28 +01:00
map_ptr_kern.c selftests/bpf: Pass page size from userspace in map_ptr 2021-04-08 23:54:47 -07:00
metadata_unused.c selftests/bpf: Test load and dump metadata with btftool and skel 2020-09-15 18:28:27 -07:00
metadata_used.c selftests/bpf: Test load and dump metadata with btftool and skel 2020-09-15 18:28:27 -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
netif_receive_skb.c selftests/bpf: Use the last page in test_snprintf_btf on s390 2021-03-02 11:30:59 +01:00
perf_event_stackmap.c selftests/bpf: Add callchain_stackid 2020-07-25 20:16:35 -07:00
perfbuf_bench.c bpf: Add BPF ringbuf and perf buffer benchmarks 2020-06-01 14:38:22 -07:00
profiler.h selftests/bpf: Add profiler test 2020-10-09 22:03:06 +02:00
profiler.inc.h bpf: Fix selftest compilation on clang 11 2020-11-26 00:25:55 +01:00
profiler1.c selftests/bpf: Add profiler test 2020-10-09 22:03:06 +02:00
profiler2.c selftests/bpf: Add profiler test 2020-10-09 22:03:06 +02:00
profiler3.c selftests/bpf: Add profiler test 2020-10-09 22:03:06 +02:00
pyperf.h selftests/bpf: Add subprogs to pyperf, strobemeta, and l4lb_noinline tests 2020-09-03 17:14:40 -07: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.c selftests/bpf: add realistic loop tests 2019-06-19 02:22:52 +02:00
pyperf600_nounroll.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_subprogs.c selftests/bpf: Add subprogs to pyperf, strobemeta, and l4lb_noinline tests 2020-09-03 17:14:40 -07:00
recursion.c selftest/bpf: Add a recursion test 2021-02-11 16:19:16 +01:00
recvmsg4_prog.c bpf: Enable bpf_{g,s}etsockopt in BPF_CGROUP_UDP{4,6}_RECVMSG 2021-01-29 02:09:31 +01:00
recvmsg6_prog.c bpf: Enable bpf_{g,s}etsockopt in BPF_CGROUP_UDP{4,6}_RECVMSG 2021-01-29 02:09:31 +01:00
ringbuf_bench.c bpf: Add BPF ringbuf and perf buffer benchmarks 2020-06-01 14:38:22 -07: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 bpf: Enable bpf_{g,s}etsockopt in BPF_CGROUP_UDP{4,6}_SENDMSG 2021-01-29 02:09:05 +01:00
sendmsg6_prog.c bpf: Enable bpf_{g,s}etsockopt in BPF_CGROUP_UDP{4,6}_SENDMSG 2021-01-29 02:09:05 +01:00
skb_pkt_end.c selftests/bpf: drop custom NULL #define in skb_pkt_end selftest 2021-03-17 18:48:05 -07:00
socket_cookie_prog.c selftests/bpf: Add a selftest for the tracing bpf_get_socket_cookie 2021-02-11 17:44:41 -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 bpf, selftests: test_maps generating unrecognized data section 2021-04-03 01:21:08 +02: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/bpf: Pass page size from userspace in sockopt_sk 2021-04-08 23:54:47 -07:00
strobemeta.c selftests/bpf: add realistic loop tests 2019-06-19 02:22:52 +02:00
strobemeta.h selftests/bpf: Add subprogs to pyperf, strobemeta, and l4lb_noinline tests 2020-09-03 17:14:40 -07: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_subprogs.c selftests/bpf: Add subprogs to pyperf, strobemeta, and l4lb_noinline tests 2020-09-03 17:14:40 -07:00
syscall.c selftests/bpf: Test for btf_load command. 2021-05-19 00:33:40 +02:00
tailcall1.c bpf, selftests: Use bpf_tail_call_static where appropriate 2020-09-30 11:50:35 -07:00
tailcall2.c bpf, selftests: Use bpf_tail_call_static where appropriate 2020-09-30 11:50:35 -07:00
tailcall3.c selftests/bpf: Stop using static variables for passing data to/from user-space 2021-05-11 15:07:17 -07:00
tailcall4.c selftests/bpf: Stop using static variables for passing data to/from user-space 2021-05-11 15:07:17 -07:00
tailcall5.c selftests/bpf: Stop using static variables for passing data to/from user-space 2021-05-11 15:07:17 -07:00
tailcall_bpf2bpf1.c bpf, selftests: Use bpf_tail_call_static where appropriate 2020-09-30 11:50:35 -07:00
tailcall_bpf2bpf2.c selftests/bpf: Stop using static variables for passing data to/from user-space 2021-05-11 15:07:17 -07:00
tailcall_bpf2bpf3.c bpf, selftests: Use bpf_tail_call_static where appropriate 2020-09-30 11:50:35 -07:00
tailcall_bpf2bpf4.c selftests/bpf: Stop using static variables for passing data to/from user-space 2021-05-11 15:07:17 -07:00
task_local_storage.c selftests/bpf: Add non-BPF_LSM test for task local storage 2021-02-26 11:51:48 -08:00
task_local_storage_exit_creds.c selftests/bpf: Add non-BPF_LSM test for task local storage 2021-02-26 11:51:48 -08:00
task_ls_recursion.c selftests/bpf: Test deadlock from recursive bpf_task_storage_[get|delete] 2021-02-26 11:51:48 -08:00
tcp_rtt.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_autoload.c selftests/bpf: Test auto-load disabling logic for BPF programs 2020-06-28 10:06:53 -07: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_map_in_map.c bpf, selftests: Add test for different array inner map size 2020-10-11 10:21:04 -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_btf_skc_cls_ingress.c bpf: selftest: Add test_btf_skc_cls_ingress 2020-09-25 13:58:02 -07:00
test_cgroup_link.c selftests/bpf: Test FD-based cgroup attachment 2020-03-30 17:36:41 -07:00
test_check_mtu.c selftests/bpf: Stop using static variables for passing data to/from user-space 2021-05-11 15:07:17 -07:00
test_cls_redirect.c selftests/bpf: Stop using static variables for passing data to/from user-space 2021-05-11 15:07:17 -07:00
test_cls_redirect.h selftests/bpf: Add cls_redirect classifier 2020-04-26 10:00:36 -07:00
test_cls_redirect_subprogs.c selftests/bpf: Add __noinline variant of cls_redirect selftest 2020-09-03 17:14:40 -07:00
test_core_autosize.c selftests/bpf: Validate libbpf's auto-sizing of LD/ST/STX instructions 2020-10-07 18:50:27 -07:00
test_core_extern.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_core_read_macros.c selftests/bpf: Add tests for user- and non-CO-RE BPF_CORE_READ() variants 2021-01-08 13:39:24 -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_enumval.c selftests/bpf: Add tests for ENUMVAL_EXISTS/ENUMVAL_VALUE relocations 2020-08-19 14:19:39 -07: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/bpf: Test TYPE_EXISTS and TYPE_SIZE CO-RE relocations 2020-08-19 14:19:39 -07: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_module.c selftests/bpf: Make selftest compilation work on clang 11 2020-12-10 16:51:28 +01: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/bpf: Add BTF_KIND_FLOAT to test_core_reloc_size 2021-03-09 10:59:46 -08:00
test_core_reloc_type_based.c selftests/bpf: Add CO-RE relo test for TYPE_ID_LOCAL/TYPE_ID_TARGET 2020-08-19 14:19:39 -07:00
test_core_reloc_type_id.c selftests/bpf: List newest Clang built-ins needed for some CO-RE selftests 2020-08-20 16:45:09 +02:00
test_core_retro.c selftests/bpf: Fix spurious test failures in core_retro selftest 2020-08-01 23:10:42 -07:00
test_d_path.c selftests/bpf: Fix stat probe in d_path test 2020-09-21 16:18:00 -07:00
test_enable_stats.c bpf: Add selftest for BPF_ENABLE_STATS 2020-05-01 10:36:32 -07:00
test_endian.c selftests/bpf: Add byte swapping selftest 2020-07-01 09:06:12 +02:00
test_get_stack_rawtp.c selftests/bpf: Workaround for get_stack_rawtp test. 2020-06-24 11:10:59 -07: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_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_global_func8.c bpf: Relax return code check for subprograms 2020-11-14 08:17:27 -08:00
test_global_func9.c selftests/bpf: Add unit tests for pointers in global functions 2021-02-12 17:37:23 -08:00
test_global_func10.c selftests/bpf: Fix warning comparing pointer to 0 2021-03-10 13:37:11 -08:00
test_global_func11.c selftests/bpf: Fix a compiler warning in global func test 2021-02-24 16:48:16 +01:00
test_global_func12.c selftests/bpf: Add unit tests for pointers in global functions 2021-02-12 17:37:23 -08:00
test_global_func13.c selftests/bpf: Add unit tests for pointers in global functions 2021-02-12 17:37:23 -08:00
test_global_func14.c selftests/bpf: Add unit tests for pointers in global functions 2021-02-12 17:37:23 -08:00
test_global_func15.c selftests/bpf: Add unit tests for pointers in global functions 2021-02-12 17:37:23 -08:00
test_global_func16.c selftests/bpf: Add unit tests for pointers in global functions 2021-02-12 17:37:23 -08:00
test_global_func_args.c selftests/bpf: Stop using static variables for passing data to/from user-space 2021-05-11 15:07:17 -07:00
test_hash_large_key.c bpf: Lift hashtab key_size limit 2020-11-05 20:04:46 -08:00
test_jhash.h selftests: bpf: standardize to static __always_inline 2019-07-03 15:06:33 +02:00
test_ksyms.c selftests/bpf: Add __ksym extern selftest 2020-06-22 17:01:48 -07:00
test_ksyms_btf.c bpf/selftests: Test for bpf_per_cpu_ptr() and bpf_this_cpu_ptr() 2020-10-02 15:00:49 -07:00
test_ksyms_btf_null_check.c bpf: selftest: Ensure the return value of the bpf_per_cpu_ptr() must be checked 2020-10-19 15:57:42 -07:00
test_ksyms_module.c selftests/bpf: Test kernel module ksym externs 2021-01-12 17:24:30 -08:00
test_l4lb.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_l4lb_noinline.c selftests/bpf: Add subprogs to pyperf, strobemeta, and l4lb_noinline tests 2020-09-03 17:14:40 -07: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_init.c bpf: Zero-fill re-used per-cpu map element 2020-11-05 19:55:57 -08:00
test_map_lock.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_misc_tcp_hdr_options.c bpf, selftest: Fix flaky tcp_hdr_options test when adding addr to lo 2020-10-15 20:53:15 +02:00
test_mmap.c selftests/bpf: mmap: Use runtime page size 2021-04-08 23:54:48 -07:00
test_module_attach.c selftests: bpf: Add a new test for bare tracepoints 2021-01-20 14:14:05 -08:00
test_ns_current_pid_tgid.c bpf, selftests: Fold test_current_pid_tgid_new_ns into test_progs. 2021-01-20 14:10:35 -08:00
test_obj_id.c selftests/bpf: Test bpf_link's get_next_id, get_fd_by_id, and get_obj_info 2020-04-28 17:27:08 -07:00
test_overhead.c selftests: Remove fmod_ret from test_overhead 2020-09-28 17:20:28 -07:00
test_pe_preserve_elems.c selftests/bpf: Add tests for BPF_F_PRESERVE_ELEMS 2020-09-30 23:21:06 -07: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 selftests/bpf: Switch perf_buffer test to tracepoint and skeleton 2020-07-09 00:44:45 +02:00
test_pinning.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_pinning_invalid.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_pkt_access.c selftests/bpf: Add test for freplace program with write access 2020-08-26 12:47:56 -07:00
test_pkt_md_access.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_probe_read_user_str.c selftest/bpf: Test bpf_probe_read_user_str() strips trailing bytes after NUL 2020-11-19 11:58:15 -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_raw_tp_test_run.c bpf, selftests: Fix cast to smaller integer type 'int' warning in raw_tp 2020-09-28 21:33:38 -07:00
test_rdonly_maps.c selftests/bpf: Stop using static variables for passing data to/from user-space 2021-05-11 15:07:17 -07:00
test_ringbuf.c selftests/bpf: ringbuf: Use runtime page size 2021-04-08 23:54:48 -07:00
test_ringbuf_multi.c selftests/bpf: ringbuf_multi: Test bpf_map__set_inner_map_fd 2021-04-08 23:54:48 -07: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: Use SOCKMAP for server sockets in bpf_sk_assign test 2020-04-29 23:31:00 +02:00
test_sk_lookup.c selftests: bpf: Convert sk_lookup ctx access tests to PROG_TEST_RUN 2021-03-04 19:11:29 -08:00
test_sk_lookup_kern.c bpf: Selftests, add printk to test_sk_lookup_kern to encode null ptr check 2020-05-21 17:44:25 -07:00
test_sk_storage_trace_itself.c bpf: selftest: Use bpf_sk_storage in FENTRY/FEXIT/RAW_TP 2020-11-12 18:39:28 -08:00
test_sk_storage_tracing.c bpf: selftest: Use bpf_sk_storage in FENTRY/FEXIT/RAW_TP 2020-11-12 18:39:28 -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_skb_helpers.c bpf, selftests: Test probe_* helpers from SCHED_CLS 2020-06-01 14:38:21 -07:00
test_skeleton.c selftests/bpf: Stop using static variables for passing data to/from user-space 2021-05-11 15:07:17 -07:00
test_skmsg_load_helpers.c bpf, selftests: Add sk_msg helpers load and attach test 2020-06-01 14:38:20 -07:00
test_snprintf.c selftests/bpf: Fix the snprintf test 2021-04-30 10:36:59 -07:00
test_snprintf_single.c selftests/bpf: Stop using static variables for passing data to/from user-space 2021-05-11 15:07:17 -07:00
test_sock_fields.c bpf: selftest: Use bpf_skc_to_tcp_sock() in the sock_fields test 2020-09-25 13:58:02 -07:00
test_sockhash_kern.c
test_sockmap_invalid_update.c selftests: bpf: Test sockmap update from BPF 2020-08-21 15:16:12 -07:00
test_sockmap_kern.c
test_sockmap_kern.h bpf, sockmap: Update selftests to use skb_adjust_room 2020-10-02 15:18:39 -07:00
test_sockmap_listen.c selftests/bpf: Stop using static variables for passing data to/from user-space 2021-05-11 15:07:17 -07:00
test_sockmap_skb_verdict_attach.c selftests/bpf: Add a test case for loading BPF_SK_SKB_VERDICT 2021-04-01 10:56:14 -07:00
test_sockmap_update.c selftests: bpf: Test sockmap update from BPF 2020-08-21 15:16:12 -07: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_stack_var_off.c selftest/bpf: Add test for var-offset stack access 2021-02-10 11:05:34 -08:00
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_static_linked1.c selftests/bpf: Validate skeleton gen handles skipped fields 2021-05-13 17:23:57 -07:00
test_static_linked2.c selftests/bpf: Validate skeleton gen handles skipped fields 2021-05-13 17:23:57 -07:00
test_subprogs.c libbpf: Change the order of data and text relocations. 2021-05-19 00:33:40 +02:00
test_subprogs_unused.c selftests/bpf: Fix unused attribute usage in subprogs_unused test 2020-11-12 09:13:49 -08:00
test_sysctl_loop1.c selftests/bpf: Fix test_sysctl_loop{1, 2} failure due to clang change 2020-09-09 11:21:34 -07:00
test_sysctl_loop2.c selftests/bpf: Fix test_sysctl_loop{1, 2} failure due to clang change 2020-09-09 11:21:34 -07:00
test_sysctl_prog.c selftests/bpf: Define string const as global for test_sysctl_prog.c 2020-09-10 20:01:53 -07:00
test_tc_bpf.c libbpf: Add selftests for TC-BPF management API 2021-05-17 17:52:20 +02:00
test_tc_edt.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_tc_neigh.c bpf, selftests: Extend test_tc_redirect to use modified bpf_redirect_neigh() 2020-10-22 01:30:00 +02:00
test_tc_neigh_fib.c bpf, selftests: Extend test_tc_redirect to use modified bpf_redirect_neigh() 2020-10-22 01:30:00 +02:00
test_tc_peer.c bpf, selftests: Add redirect_peer selftest 2020-10-11 10:21:04 -07:00
test_tc_tunnel.c selftests, bpf: Extend test_tc_tunnel test with vxlan 2021-03-05 23:58:59 +01: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_tcp_hdr_options.c bpf: selftest: Ensure the child sk inherited all bpf_sock_ops_cb_flags 2020-10-02 11:34:48 -07:00
test_tcpbpf_kern.c selftests/bpf: Add Userspace tests for TCP_WINDOW_CLAMP 2020-12-03 17:23:24 -08:00
test_tcpnotify_kern.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_trace_ext.c selftests/bpf: Adding test for arg dereference in extension trace 2020-09-29 13:09:24 -07:00
test_trace_ext_tracing.c selftests/bpf: Adding test for arg dereference in extension trace 2020-09-29 13:09:24 -07: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 tools/testing: Remove unused variable 2021-04-14 17:28:58 -07:00
test_varlen.c selftests/bpf: Make test_varlen work with 32-bit user-space arch 2020-08-13 16:45:41 -07: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: Fix test_vmlinux test to use bpf_probe_read_user() 2020-08-18 17:16:15 -07:00
test_xdp.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_xdp_adjust_tail_grow.c selftests/bpf: Xdp_adjust_tail add grow tail tests 2020-05-14 21:21:57 -07:00
test_xdp_adjust_tail_shrink.c selftests/bpf: Adjust BPF selftest for xdp_adjust_tail 2020-05-14 21:21:57 -07:00
test_xdp_bpf2bpf.c bpf: Add bpf_xdp_output() helper 2020-03-12 17:47:38 -07:00
test_xdp_devmap_helpers.c bpf: Selftests and tools use struct bpf_devmap_val from uapi 2020-06-09 11:36:19 -07:00
test_xdp_link.c selftests/bpf: Add BPF XDP link selftests 2020-07-25 20:37:02 -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/bpf: Modernize xdp_noinline test w/ skeleton and __noinline 2020-09-03 17:14:40 -07: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_with_cpumap_helpers.c selftest: Add tests for XDP programs in CPUMAP entries 2020-07-16 17:00:32 +02:00
test_xdp_with_devmap_helpers.c libbpf: Adjust SEC short cut for expected attach type BPF_XDP_DEVMAP 2020-06-25 22:36:00 +02:00
trace_printk.c selftests/bpf: Add selftests verifying bpf_trace_printk() behaviour 2020-07-13 16:55:49 -07:00
trigger_bench.c selftests/bpf: Add sleepable tests 2020-08-28 21:20:33 +02:00
udp_limit.c selftests/bpf: Verify socket storage in cgroup/sock_{create, release} 2020-07-31 00:43:49 +02: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