linux/tools/testing/selftests/bpf/progs
Andrii Nakryiko b5cc46cdff selftests/bpf: Fix spurious test failures in core_retro selftest
core_retro selftest uses BPF program that's triggered on sys_enter
system-wide, but has no protection from some unrelated process doing syscall
while selftest is running. This leads to occasional test failures with
unexpected PIDs being returned. Fix that by filtering out all processes that
are not test_progs process.

Fixes: fcda189a51 ("selftests/bpf: Add test relying only on CO-RE and no recent kernel features")
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/20200731204957.2047119-1-andriin@fb.com
2020-08-01 23:10:42 -07:00
..
bpf_cubic.c bpf: tcp: bpf_cubic: fix spurious HYSTART_DELAY exit upon drop in min RTT 2020-06-25 16:08:47 -07: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/bpf: Convert test_flow_dissector to use BPF skeleton 2020-06-01 15:21:03 -07:00
bpf_iter.h selftests/bpf: Add new bpf_iter context structs to fix build on old kernels 2020-07-28 12:22:37 +02: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 test for bpf hash map iterators 2020-07-25 20:16:33 -07:00
bpf_iter_bpf_map.c selftests/bpf: Move newer bpf_iter_* type redefining to a new header file 2020-06-24 18:37:59 -07: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_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_task.c selftests/bpf: Move newer bpf_iter_* type redefining to a new header file 2020-06-24 18:37:59 -07:00
bpf_iter_task_file.c selftests/bpf: Move newer bpf_iter_* type redefining to a new header file 2020-06-24 18:37:59 -07:00
bpf_iter_task_stack.c selftests/bpf: Fix compilation error of bpf_iter_task_stack.c 2020-07-03 23:25:40 +02: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: Move newer bpf_iter_* type redefining to a new header file 2020-06-24 18:37:59 -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_tracing_net.h selftests/bpf: Add more common macros to bpf_tracing_net.h 2020-06-24 18:37:59 -07: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_existence.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_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_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_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 libbpf: Assume unsigned values for BTF_KIND_ENUM 2020-03-04 17:00:06 +01: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 SO_KEEPALIVE and related options to bpf_setsockopt 2020-06-24 11:21:03 -07:00
connect6_prog.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
connect_force_port4.c bpf, testing: Add get{peer, sock}name selftests to test_progs 2020-05-19 11:32:04 -07:00
connect_force_port6.c bpf, testing: Add get{peer, sock}name selftests to test_progs 2020-05-19 11:32:04 -07:00
core_reloc_types.h bpf, libbpf: Replace zero-length array with flexible-array 2020-05-11 16:56:47 +02:00
dev_cgroup.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
fentry_test.c bpf: Add tests for PTR_TO_BTF_ID vs. null comparison 2020-06-30 22:21:29 +02: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_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_test.c bpf: Add tests for PTR_TO_BTF_ID vs. null comparison 2020-06-30 22:21:29 +02: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
load_bytes_relative.c selftests/bpf: Add cgroup_skb/egress test for load_bytes_relative 2020-06-11 16:05:56 +02: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
map_ptr_kern.c selftests/bpf: Test access to bpf map pointer 2020-06-22 22:22:59 +02: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
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
pyperf.h 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.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
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 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/bpf: Make sure optvals > PAGE_SIZE are bypassed 2020-06-17 10:54:05 -07: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
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
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_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 libbpf: Add BTF-defined map-in-map support 2020-04-28 17:35:03 -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_cls_redirect.c bpf, selftests: Adapt cls_redirect to call csum_level helper 2020-06-02 11:50:23 -07:00
test_cls_redirect.h selftests/bpf: Add cls_redirect classifier 2020-04-26 10:00:36 -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_core_retro.c selftests/bpf: Fix spurious test failures in core_retro selftest 2020-08-01 23:10:42 -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_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_l4lb.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_l4lb_noinline.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 bpf: Prevent mmap()'ing read-only maps as writable 2020-05-20 20:21:53 -07: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/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 Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-05-15 13:48:59 -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 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_ringbuf.c selftests/bpf: Add BPF ringbuf selftests 2020-06-01 14:38:22 -07:00
test_ringbuf_multi.c selftests/bpf: Add BPF ringbuf selftests 2020-06-01 14:38:22 -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: Tests for BPF_SK_LOOKUP attach point 2020-07-17 20:18:17 -07: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_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 tools/bpftool: Strip away modifiers from global variables 2020-07-13 17:07:43 -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_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_kern.h bpf, sockmap: Add ingres skb tests that utilize merge skbs 2020-06-28 08:33:28 -07:00
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/bpf: fix test_sysctl_prog with alu32 2020-04-28 15:31:59 -07: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_varlen.c selftests/bpf: Add variable-length data concat pattern less than test 2020-06-24 00:04:36 +02: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: Switch test_vmlinux to use hrtimer_range_start_ns. 2020-07-01 15:10:27 -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: 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_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 selftest/bpf: Add BPF triggering benchmark 2020-05-13 12:19:38 -07: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