mirror-linux/tools/testing/selftests/bpf/prog_tests
Alexis Lothoré (eBPF Foundation) 1d17bcce6a selftests/bpf: do not hardcode target rate in test_tc_edt BPF program
test_tc_edt currently defines the target rate in both the userspace and
BPF parts. This value could be defined once in the userspace part if we
make it able to configure the BPF program before starting the test.

Add a target_rate variable in the BPF part, and make the userspace part
set it to the desired rate before attaching the shaping program.

Signed-off-by: Alexis Lothoré (eBPF Foundation) <alexis.lothore@bootlin.com>
Link: https://lore.kernel.org/r/20251128-tc_edt-v2-4-26db48373e73@bootlin.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2025-11-29 09:37:41 -08:00
..
.gitignore
access_variable_array.c
align.c bpf: disable and remove registers chain based liveness 2025-09-19 09:27:23 -07:00
arena_atomics.c selftests/bpf: Add selftests for load-acquire and store-release instructions 2025-03-15 11:48:29 -07:00
arena_htab.c
arena_list.c
arena_spin_lock.c selftests/bpf: Fix arena_spin_lock selftest failure 2025-09-15 10:49:18 -07:00
arena_strsearch.c selftests/bpf: Convert glob_match() to bpf arena 2025-11-14 13:57:28 -08:00
arg_parsing.c selftests: arg_parsing: Ensure data is flushed to disk before reading. 2025-10-16 09:34:39 -07:00
assign_reuse.c
async_stack_depth.c
atomic_bounds.c
atomics.c selftests/bpf: Enable signature verification for some lskel tests 2025-09-22 19:17:55 -07:00
attach_probe.c selftests/bpf: Add kprobe write ctx attach test 2025-09-24 02:25:06 -07:00
autoattach.c
autoload.c
bad_struct_ops.c
bind_perm.c
bloom_filter_map.c selftests/bpf: Fix build error due to certain uninitialized variables 2025-07-15 14:38:58 -07:00
bpf_cookie.c selftests/bpf: Fix flaky bpf_cookie selftest 2025-09-25 15:55:44 -07:00
bpf_gotox.c selftests/bpf: add C-level selftests for indirect jumps 2025-11-05 17:53:56 -08:00
bpf_insn_array.c selftests/bpf: test instructions arrays with blinding 2025-11-05 17:53:22 -08:00
bpf_iter.c selftests/bpf: Fix build error due to certain uninitialized variables 2025-07-15 14:38:58 -07:00
bpf_iter_setsockopt.c selftests/bpf: Fix error compiling bpf_iter_setsockopt.c with musl libc 2024-07-29 15:05:07 -07:00
bpf_iter_setsockopt_unix.c
bpf_loop.c
bpf_mod_race.c selftests/bpf: Fix bpf_mod_race test failure with arm64 64KB page size 2025-06-06 19:21:43 -07:00
bpf_nf.c selftests/bpf: Fix bpf_nf selftest failure 2025-04-09 16:29:39 -07:00
bpf_obj_id.c
bpf_obj_pinning.c
bpf_qdisc.c selftests/bpf: Cleanup bpf qdisc selftests 2025-05-02 15:51:17 -07:00
bpf_tcp_ca.c selftests/bpf: Move ENOTSUPP from bpf_util.h 2024-11-11 08:18:35 -08:00
bpf_verif_scale.c
btf.c selftests/bpf: Add BTF dedup tests for recursive typedef definitions 2025-11-14 17:07:20 -08:00
btf_dedup_split.c selftests/bpf: Add btf dedup test covering module BTF dedup 2025-05-01 14:05:49 -07:00
btf_distill.c selftests/bpf: Add distilled BTF test about marking BTF_IS_EMBEDDED 2025-01-16 15:34:18 -08:00
btf_dump.c selftests/bpf: Fix typos and grammar in test sources 2025-08-27 15:13:08 -07:00
btf_endian.c
btf_field_iter.c
btf_map_in_map.c
btf_module.c
btf_skc_cls_ingress.c selftests/bpf: test MSS value returned with bpf_tcp_gen_syncookie 2024-10-21 13:18:51 -07:00
btf_split.c selftests/bpf: Test parsing of (multi-)split BTF 2025-11-04 13:44:12 -08:00
btf_sysfs.c selftests: bpf: Add a test for mmapable vmlinux BTF 2025-05-23 10:06:28 -07:00
btf_tag.c
btf_write.c
build_id.c selftests/bpf: add build ID tests 2024-09-11 09:58:31 -07:00
cb_refs.c bpf: Drop special callback reference handling 2024-11-11 08:18:55 -08:00
cg_storage_multi.c selftests/bpf: fix some typos in selftests 2024-09-05 13:07:47 -07:00
cgroup1_hierarchy.c
cgroup_ancestor.c selftests/bpf: Fix error compiling cgroup_ancestor.c with musl libc 2024-10-09 18:29:07 -07:00
cgroup_attach_autodetach.c
cgroup_attach_multi.c
cgroup_attach_override.c
cgroup_dev.c selftests/bpf: add wrong type test to cgroup dev 2024-07-31 10:00:20 -07:00
cgroup_get_current_cgroup_id.c selftests/bpf: convert get_current_cgroup_id_user to test_progs 2024-08-14 18:10:46 -07:00
cgroup_getset_retval.c
cgroup_hierarchical_stats.c
cgroup_iter.c
cgroup_link.c
cgroup_mprog_opts.c selftests/bpf: Add two selftests for mprog API based cgroup progs 2025-06-09 16:28:31 -07:00
cgroup_mprog_ordering.c selftests/bpf: Fix cgroup_mprog_ordering failure due to uninitialized variable 2025-06-11 12:32:50 -07:00
cgroup_preorder.c selftests/bpf: Add selftests allowing cgroup prog pre-ordering 2025-03-15 11:48:25 -07:00
cgroup_skb_direct_packet_access.c selftests/bpf: add cgroup skb direct packet access test 2024-12-02 08:41:17 -08:00
cgroup_skb_sk_lookup.c
cgroup_storage.c selftests/bpf: convert test_cgroup_storage to test_progs 2024-08-14 18:10:47 -07:00
cgroup_tcp_skb.c
cgroup_v1v2.c selftests/bpf: Allow auto port binding for cgroup connect 2025-03-15 11:48:24 -07:00
cgroup_xattr.c selftests/bpf: More open-coded gettid syscall cleanup 2025-09-15 20:39:24 +02:00
cgrp_kfunc.c selftests/bpf: Add a test for bpf_cgroup_from_id lookup in non-root cgns 2025-09-15 10:53:15 -07:00
cgrp_local_storage.c selftests/bpf: Clean up open-coded gettid syscall invocations 2024-11-04 11:37:36 -08:00
check_mtu.c selftests/bpf: Test bpf_skb_check_mtu(BPF_MTU_CHK_SEGS) when transport_header is not set 2025-11-14 18:49:18 -08:00
cls_redirect.c selftests/bpf: Use sockaddr_storage directly in cls_redirect test 2025-11-21 10:46:01 -08:00
compute_live_registers.c selftests/bpf: test cases for compute_live_registers() 2025-03-15 11:48:30 -07:00
connect_force_port.c
connect_ping.c
core_autosize.c
core_extern.c
core_kern.c
core_kern_overflow.c
core_read_macros.c
core_reloc.c selftests/bpf: add test for LDX/STX/ST relocations over array field 2025-02-14 19:58:14 -08:00
core_reloc_raw.c selftests/bpf: test for malformed BPF_CORE_TYPE_ID_LOCAL relocation 2024-08-22 08:00:26 -07:00
core_retro.c
cpu_mask.c
cpumask.c selftests: bpf: fix duplicate selftests in cpumask_success. 2025-03-15 11:48:58 -07:00
crypto_sanity.c selftests/bpf: Fix errors compiling crypto_sanity.c with musl libc 2024-07-29 15:05:08 -07:00
ctx_rewrite.c selftests/bpf: extract utility function for BPF disassembly 2024-07-29 15:05:05 -07:00
custom_sec_handlers.c
d_path.c
decap_sanity.c selftests/bpf: Fix errors compiling decap_sanity.c with musl libc 2024-07-29 15:05:08 -07:00
deny_namespace.c
dmabuf_iter.c selftests/bpf: Add test for open coded dmabuf_iter 2025-05-27 09:51:26 -07:00
dummy_st_ops.c
dynptr.c selftests/bpf: Cover verifier checks for skb_meta dynptr type 2025-08-18 10:29:42 -07:00
empty_skb.c
enable_stats.c
endian.c
exceptions.c
exhandler.c
fd_array.c selftests/bpf: Fix typos and grammar in test sources 2025-08-27 15:13:08 -07:00
fd_htab_lookup.c selftests/bpf: Add test case for atomic update of fd htab 2025-04-09 20:12:54 -07:00
fentry_fexit.c selftests/bpf: Enable signature verification for some lskel tests 2025-09-22 19:17:55 -07:00
fentry_test.c selftests/bpf: Enable signature verification for some lskel tests 2025-09-22 19:17:55 -07:00
fexit_bpf2bpf.c
fexit_sleep.c selftests/bpf: fexit_sleep: Fix stack allocation for arm64 2024-07-17 19:22:44 +02:00
fexit_stress.c selftests: bpf: Replace sizeof(arr)/sizeof(arr[0]) with ARRAY_SIZE 2024-09-04 12:58:46 -07:00
fexit_test.c selftests/bpf: Enable signature verification for some lskel tests 2025-09-22 19:17:55 -07:00
fib_lookup.c
file_reader.c selftests/bpf: Fix intermittent failures in file_reader test 2025-10-29 18:15:30 -07:00
fill_link_info.c selftests/bpf: Add link info test for ref_ctr_offset retrieval 2025-05-09 13:01:08 -07:00
find_vma.c
flow_dissector.c selftests/bpf: ensure proper root namespace cleanup when test fail 2024-12-02 11:04:35 -08:00
flow_dissector_classification.c selftests/bpf: Add a specific dst port matching 2025-02-19 18:54:59 -08:00
flow_dissector_load_bytes.c
flow_dissector_reattach.c
for_each.c selftests/bpf: add test for softlock when modifying hashmap while iterating 2025-04-25 08:36:59 -07:00
free_timer.c selftests/bpf: Skip timer cases when bpf_timer is not supported 2025-09-10 12:34:09 -07:00
fs_kfuncs.c selftests/bpf: Test kfuncs that set and remove xattr from BPF programs 2025-02-13 19:35:32 -08:00
get_branch_snapshot.c
get_func_args_test.c
get_func_ip_test.c
get_stack_raw_tp.c
get_stackid_cannot_attach.c
global_data.c
global_data_init.c
global_func_args.c
global_func_dead_code.c
global_map_resize.c
hash_large_key.c
hashmap.c
helper_restricted.c
htab_reuse.c
htab_update.c selftests/bpf: Fix htab_update/reenter_update selftest failure 2025-11-24 16:48:28 -08:00
inner_array_lookup.c
ip_check_defrag.c
iters.c selftests/bpf: watchdog timer for test_progs 2024-11-12 13:53:27 -08:00
jeq_infer_not_null.c
jit_probe_mem.c
kernel_flag.c selftests/bpf: More open-coded gettid syscall cleanup 2025-09-15 20:39:24 +02:00
kfree_skb.c selftests/bpf: Fix compiling kfree_skb.c with musl-libc 2024-07-29 15:05:08 -07:00
kfunc_call.c bpf: Fix error message on kfunc arg type mismatch 2024-09-09 15:58:17 -07:00
kfunc_dynptr_param.c
kfunc_module_order.c selftests/bpf: Add test for kfunc module order 2024-10-10 10:44:03 -07:00
kfunc_param_nullable.c
kmem_cache_iter.c selftests/bpf: Use ASSERT_STRNEQ to factor in long slab cache names 2025-11-20 09:26:06 -08:00
kprobe_multi_test.c selftests/bpf: Add kprobe multi write ctx attach test 2025-09-24 02:25:06 -07:00
kprobe_multi_testmod_test.c
kptr_xchg_inline.c
ksyms.c
ksyms_btf.c
ksyms_module.c
l4lb_all.c
legacy_printk.c
libbpf_get_fd_by_id_opts.c
libbpf_probes.c
libbpf_str.c
link_pinning.c
linked_funcs.c selftests/bpf: Clean up open-coded gettid syscall invocations 2024-11-04 11:37:36 -08:00
linked_list.c bpf: rdonly_untrusted_mem for btf id walk pointer leafs 2025-07-07 08:25:06 -07:00
linked_maps.c
linked_vars.c
livepatch_trampoline.c selftests/bpf: Add tests for livepatch + bpf trampoline 2025-11-03 17:22:06 -08:00
load_bytes_relative.c
local_kptr_stash.c
log_buf.c selftests/bpf: Fix RELEASE build failure with gcc14 2025-06-17 10:18:30 -07:00
log_fixup.c
lookup_and_delete.c
lookup_key.c
lru_bug.c
lsm_cgroup.c selftests/bpf: Move ENOTSUPP from bpf_util.h 2024-11-11 08:18:35 -08:00
lwt_helpers.h selftests/bpf: Move open_tuntap to network helpers 2025-03-06 12:31:08 -08:00
lwt_ip_encap.c selftests/bpf: Move test_lwt_ip_encap to test_progs 2025-03-15 11:48:57 -07:00
lwt_redirect.c selftests/bpf: Fix errors compiling lwt_redirect.c with musl libc 2024-07-29 15:05:08 -07:00
lwt_reroute.c selftests/bpf: Fix redefinition errors compiling lwt_reroute.c 2024-07-30 13:45:45 -07:00
lwt_seg6local.c selftests/bpf: lwt_seg6local: Move test to test_progs 2025-03-15 11:48:57 -07:00
map_btf.c
map_excl.c selftests/bpf: Add tests for exclusive maps 2025-09-18 19:11:42 -07:00
map_in_map.c selftests/bpf: Test the update operations for htab of maps 2024-11-11 08:18:39 -08:00
map_init.c
map_kptr.c
map_lock.c
map_lookup_percpu_elem.c
map_ops.c
map_ptr.c
mem_rdonly_untrusted.c selftests/bpf: check operations on untrusted ro pointers to mem 2025-06-25 15:13:16 -07:00
metadata.c
migrate_reuseport.c
missed.c selftests/bpf: Add kprobe session recursion check test 2025-01-08 09:39:58 -08:00
mmap.c
modify_return.c
module_attach.c selftests/bpf: Fix typos and grammar in test sources 2025-08-27 15:13:08 -07:00
module_fentry_shadow.c selftests: bpf: Replace sizeof(arr)/sizeof(arr[0]) with ARRAY_SIZE 2024-09-04 12:58:46 -07:00
mptcp.c selftests/bpf: Add mptcp test with sockmap 2025-11-13 13:18:25 -08:00
nested_trust.c selftests/bpf: Add test for zero offset or non-zero offset pointers as KF_ACQUIRE kfuncs argument 2024-08-28 17:11:54 -07:00
net_timestamping.c selftests/bpf: Add simple bpf tests in the tx path for timestamping feature 2025-02-20 14:30:07 -08:00
netcnt.c
netfilter_link_attach.c selftests/bpf: Add asserts for netfilter link info 2024-10-16 17:04:38 +02:00
netns_cookie.c selftests/bpf: add cgroup_skb netns cookie tests 2025-02-26 07:35:51 -08:00
ns_current_pid_tgid.c selftests/bpf: ns_current_pid_tgid: Use test_progs's ns_ feature 2025-02-19 09:46:02 -08:00
obj_name.c
parse_tcp_hdr_opt.c selftests/bpf: Fix compiling parse_tcp_hdr_opt.c with musl-libc 2024-07-29 15:05:07 -07:00
pe_preserve_elems.c
percpu_alloc.c
perf_branches.c selftests/bpf: Improve reliability of test_perf_branches_no_hw() 2025-11-21 16:49:16 -08:00
perf_buffer.c
perf_event_stackmap.c
perf_link.c selftests/bpf: Check for timeout in perf_link test 2024-10-11 12:36:59 -07:00
perf_skip.c
pinning.c
pinning_devmap_reuse.c selftests/bpf: Add test for DEVMAP reuse 2025-08-15 16:52:52 -07:00
pinning_htab.c selftests/bpf: Add test for unpinning htab with internal timer struct 2025-10-10 10:10:08 -07:00
pkt_access.c
pkt_md_access.c
preempt_lock.c
preempted_bpf_ma_op.c
prepare.c selftests/bpf: Add tests for bpf_object__prepare 2025-03-15 11:48:28 -07:00
pro_epilogue.c selftests/bpf: Test gen_pro/epilogue that generate kfuncs 2025-02-25 19:04:43 -08:00
probe_read_user_str.c
probe_user.c
prog_array_init.c
prog_run_opts.c
prog_tests_framework.c selftests/bpf: __not_msg() tag for test_loader framework 2025-09-19 09:27:23 -07:00
ptr_untrusted.c
queue_stack_map.c
raw_tp_null.c selftests/bpf: Add tests for raw_tp NULL args 2024-12-13 16:24:53 -08:00
raw_tp_test_run.c
raw_tp_writable_reject_nbd_invalid.c selftests: bpf: Replace sizeof(arr)/sizeof(arr[0]) with ARRAY_SIZE 2024-09-04 12:58:46 -07:00
raw_tp_writable_test_run.c selftests: bpf: Replace sizeof(arr)/sizeof(arr[0]) with ARRAY_SIZE 2024-09-04 12:58:46 -07:00
rbtree.c selftests/bpf: Add tests for bpf_rbtree_{root,left,right} 2025-05-06 10:21:05 -07:00
rcu_read_lock.c selftests: bpf: Add tests for unbalanced rcu_read_lock 2025-11-21 18:34:59 -08:00
rdonly_maps.c
read_vsyscall.c selftests/bpf: Add tests for bpf_copy_from_user_task_str 2025-02-19 17:01:36 -08:00
recursion.c
recursive_attach.c selftests/bpf: Stress test attaching a BPF prog to another BPF prog 2025-07-16 18:32:31 -07:00
refcounted_kptr.c selftests/bpf: Add test to verify freeing the special fields in pcpu maps 2025-11-13 09:15:33 -08:00
reference_tracking.c
reg_bounds.c selftests/bpf: Fix typos and grammar in test sources 2025-08-27 15:13:08 -07:00
res_spin_lock.c selftests/bpf: Add ABBCCA case for rqspinlock stress test 2025-10-29 18:17:56 -07:00
resolve_btfids.c selftests/bpf: fix some typos in selftests 2024-09-05 13:07:47 -07:00
ringbuf.c selftests/bpf: Add overwrite mode test for BPF ring buffer 2025-10-27 19:46:32 -07:00
ringbuf_multi.c
section_names.c
select_reuseport.c selftests/bpf: Use sockaddr_storage instead of sa46 in select_reuseport test 2025-11-21 10:46:31 -08:00
send_signal.c selftests/bpf: Fix failure paths in send_signal test 2025-11-14 17:02:25 -08:00
send_signal_sched_switch.c
setget_sockopt.c selftests/bpf: Correct the check of join cgroup 2025-02-06 21:18:04 -08:00
sha256.c selftests/bpf: Add test for libbpf_sha256() 2025-10-01 16:00:25 -07:00
signal_pending.c
sk_assign.c selftests/bpf: Close the file descriptor to avoid resource leaks 2025-04-22 14:29:58 -07:00
sk_lookup.c selftests/bpf: Drop unneeded error.h includes 2024-07-29 15:05:07 -07:00
sk_storage_omem_uncharge.c
sk_storage_tracing.c
skb_ctx.c
skb_helpers.c
skb_load_bytes.c
skc_to_unix_sock.c
skeleton.c
snprintf.c selftests/bpf: Add negative test cases for snprintf 2025-07-01 15:22:46 -07:00
snprintf_btf.c
sock_addr.c selftests/bpf: Move ENOTSUPP from bpf_util.h 2024-11-11 08:18:35 -08:00
sock_create.c selftests/bpf: Migrate BPF_CGROUP_INET_SOCK_CREATE test cases to prog_tests 2024-10-22 13:41:42 -07:00
sock_destroy.c
sock_fields.c
sock_iter_batch.c selftests/bpf: Add tests for bucket resume logic in established sockets 2025-07-14 15:12:54 -07:00
sock_post_bind.c selftests/bpf: Migrate *_POST_BIND test cases to prog_tests 2024-10-22 13:41:38 -07:00
socket_cookie.c
socket_helpers.h selftests/bpf: Add socket_kind_to_str() to socket_helpers 2025-05-22 14:26:58 -07:00
sockmap_basic.c BPF fixes: 2025-02-20 15:37:17 -08:00
sockmap_helpers.h selftests/bpf: Add u32()/u64() to sockmap_helpers 2025-05-22 14:26:58 -07:00
sockmap_ktls.c selftests/bpf: Add test to cover ktls with bpf_msg_pop_data 2025-06-11 16:59:45 +02:00
sockmap_listen.c selftests/bpf: fix signedness bug in redir_partial() 2025-06-12 16:52:43 -07:00
sockmap_redir.c selftests/bpf: Add selftest for sockmap/hashmap redirection 2025-05-22 14:26:58 -07:00
sockmap_strp.c selftests/bpf: Add strparser test for bpf 2025-01-29 13:32:48 -08:00
sockopt.c
sockopt_inherit.c
sockopt_multi.c
sockopt_qos_to_cc.c
sockopt_sk.c selftests/bpf: use the same udp and tcp headers in tests under test_progs 2024-12-02 08:41:17 -08:00
spin_lock.c bpf: disable and remove registers chain based liveness 2025-09-19 09:27:23 -07:00
stack_var_off.c
stacktrace_build_id.c selftests/bpf: Fix typos and grammar in test sources 2025-08-27 15:13:08 -07:00
stacktrace_build_id_nmi.c selftests/bpf: Fix typos and grammar in test sources 2025-08-27 15:13:08 -07:00
stacktrace_ips.c selftests/bpf: Add stacktrace ips test for raw_tp 2025-11-05 17:05:19 -08:00
stacktrace_map.c selftests/bpf: Add stacktrace map lookup_and_delete_elem test case 2025-09-25 16:17:30 -07:00
stacktrace_map_raw_tp.c selftests/bpf: Refactor stacktrace_map case with skeleton 2025-09-25 16:17:14 -07:00
stacktrace_map_skip.c selftests/bpf: Fix typos and grammar in test sources 2025-08-27 15:13:08 -07:00
static_linked.c
stream.c selftests/bpf: Add tests for arena fault reporting 2025-09-11 13:00:44 -07:00
string_kfuncs.c selftests/bpf: Test bpf_strcasestr,bpf_strncasestr kfuncs 2025-10-10 10:05:32 -07:00
struct_ops_autocreate.c
struct_ops_private_stack.c selftests/bpf: Add struct_ops prog private stack tests 2024-11-12 16:26:25 -08:00
subprogs.c
subprogs_extable.c
subskeleton.c selftests/bpf: validate generic bpf_object and subskel APIs work together 2024-10-23 22:15:09 -07:00
summarization.c selftests/bpf: Add tests for extending sleepable global subprogs 2025-03-15 11:48:25 -07:00
syscall.c
tailcalls.c selftests/bpf: Fix RELEASE build failure with gcc14 2025-06-17 10:18:30 -07:00
task_fd_query_rawtp.c
task_fd_query_tp.c
task_kfunc.c selftests/bpf: Add tests for bpf_task_from_vpid() kfunc 2024-10-16 09:21:18 -07:00
task_local_data.h selftests/bpf: More open-coded gettid syscall cleanup 2025-09-15 20:39:24 +02:00
task_local_storage.c selftests/bpf: Check for PREEMPTION instead of PREEMPT 2024-11-26 08:55:01 -08:00
task_pt_regs.c
task_under_cgroup.c
task_work_stress.c selftests/bpf: add bpf task work stress tests 2025-09-23 07:34:39 -07:00
tc_bpf.c
tc_change_tail.c selftests/bpf: Test bpf_skb_change_tail() in TC ingress 2024-12-20 23:13:31 +01:00
tc_helpers.h selftests/bpf: Move some tc_helpers.h functions to test_progs.h 2025-06-09 16:28:30 -07:00
tc_links.c selftests/bpf: tc_links/tc_opts: Unserialize tests 2025-02-19 09:46:02 -08:00
tc_netkit.c selftests/bpf: Extend netkit tests to validate set {head,tail}room 2025-01-06 09:48:58 +01:00
tc_opts.c selftests/bpf: tc_links/tc_opts: Unserialize tests 2025-02-19 09:46:02 -08:00
tc_redirect.c selftests/bpf: Set MACs during veth creation in tc_redirect 2025-04-23 16:41:49 -07:00
tcp_custom_syncookie.c
tcp_estats.c
tcp_hdr_options.c
tcp_rtt.c selftests/bpf: Fix compiling tcp_rtt.c with musl-libc 2024-07-29 15:05:08 -07:00
tcpbpf_user.c
test_bpf_ma.c
test_bpf_syscall_macro.c selftests/bpf: Enable test_bpf_syscall_macro: Syscall_arg1 on s390 and arm64 2024-09-04 17:06:09 -07:00
test_bpffs.c
test_bprm_opts.c selftests/bpf: fix some typos in selftests 2024-09-05 13:07:47 -07:00
test_btf_ext.c selftests/bpf: Add BTF.ext line/func info getter tests 2025-04-09 16:16:56 -07:00
test_csum_diff.c selftests/bpf: Add a selftest for bpf_csum_diff() 2024-10-30 15:29:59 +01:00
test_global_funcs.c
test_ima.c
test_ldsx_insn.c
test_local_storage.c
test_lsm.c selftests/bpf: Remove usage of lsm/file_alloc_security in selftest 2025-11-28 15:18:28 -08:00
test_mmap_inner_array.c selftests/bpf: Add a test for mmap-able map in map 2024-07-29 15:05:04 -07:00
test_overhead.c
test_profiler.c
test_skb_pkt_end.c
test_strncmp.c selftests/bpf: fix some typos in selftests 2024-09-05 13:07:47 -07:00
test_struct_ops_id_ops_mapping.c selftests/bpf: Test multi_st_ops and calling kfuncs from different programs 2025-08-06 16:01:58 -07:00
test_struct_ops_kptr_return.c selftests/bpf: Test returning referenced kptr from struct_ops programs 2025-02-17 18:47:27 -08:00
test_struct_ops_maybe_null.c
test_struct_ops_module.c selftests/bpf: Ensure the unsupported struct_ops prog cannot be loaded 2024-07-29 13:09:10 -07:00
test_struct_ops_multi_pages.c
test_struct_ops_no_cfi.c
test_struct_ops_refcounted.c selftests/bpf: Test struct_ops program with __ref arg calling bpf_tail_call 2025-02-20 18:44:35 -08:00
test_sysctl.c selftests/bpf: Convert test_sysctl to prog_tests 2025-06-23 21:50:44 -07:00
test_task_local_data.c selftests/bpf: More open-coded gettid syscall cleanup 2025-09-15 20:39:24 +02:00
test_task_work.c selftests/bpf: Task_work selftest cleanup fixes 2025-09-25 11:00:01 -07:00
test_tc_edt.c selftests/bpf: do not hardcode target rate in test_tc_edt BPF program 2025-11-29 09:37:41 -08:00
test_tc_tunnel.c selftests/bpf: Use start_server_str rather than start_reuseport_server in tc_tunnel 2025-11-06 15:23:04 -08:00
test_tunnel.c selftests/bpf: Add tc helpers 2025-10-29 11:07:24 -07:00
test_veristat.c bpf: disable and remove registers chain based liveness 2025-09-19 09:27:23 -07:00
test_xdp_veth.c selftests/bpf: test_xdp_veth: Add XDP program on egress test 2025-02-18 13:56:34 -08:00
test_xsk.c selftests/bpf: test_xsk: Integrate test_xsk.c to test_progs framework 2025-10-31 09:24:39 -07:00
test_xsk.h selftests/bpf: test_xsk: Integrate test_xsk.c to test_progs framework 2025-10-31 09:24:39 -07:00
time_tai.c
timer.c selftests/bpf: Skip timer_interrupt case when bpf_timer is not supported 2025-09-15 10:22:58 -07:00
timer_crash.c selftests/bpf: Skip timer cases when bpf_timer is not supported 2025-09-10 12:34:09 -07:00
timer_lockup.c selftests/bpf: Skip timer cases when bpf_timer is not supported 2025-09-10 12:34:09 -07:00
timer_mim.c selftests/bpf: Skip timer cases when bpf_timer is not supported 2025-09-10 12:34:09 -07:00
token.c bpf/selftests: Add selftests for token info 2025-07-16 18:38:05 -07:00
tp_attach_query.c
tp_btf_nullable.c selftests/bpf: Add test for __nullable suffix in tp_btf 2024-09-11 08:56:42 -07:00
trace_ext.c
trace_printk.c
trace_vprintk.c
tracing_failure.c selftests/bpf: Migrate fexit_noreturns case into tracing_failure test suite 2025-07-28 19:39:30 -07:00
tracing_struct.c selftests/bpf: Add union argument tests using fexit programs 2025-09-23 12:07:47 -07:00
trampoline_count.c
type_cast.c
udp_limit.c
uninit_stack.c
unpriv_bpf_disabled.c selftests: bpf: Replace sizeof(arr)/sizeof(arr[0]) with ARRAY_SIZE 2024-09-04 12:58:46 -07:00
uprobe.c selftests/bpf: Add uprobe context ip register change test 2025-09-24 02:25:06 -07:00
uprobe_autoattach.c
uprobe_multi_test.c selftests/bpf: Add threads to consumer test 2024-11-11 08:18:23 -08:00
uprobe_syscall.c selftests/bpf: Fix open-coded gettid syscall in uprobe syscall tests 2025-10-01 13:37:29 -07:00
uretprobe_stack.c selftests/bpf: add test validating uprobe/uretprobe stack traces 2024-06-25 10:15:38 +09:00
usdt.c selftests/bpf: Fix typo in subtest_basic_usdt after merge conflict 2025-10-01 13:37:30 -07:00
user_ringbuf.c selftests/bpf: Fix a user_ringbuf failure with arm64 64KB page size 2025-06-06 19:21:43 -07:00
varlen.c
verif_stats.c
verifier.c selftests/bpf: add new verifier_gotox test 2025-11-05 17:53:23 -08:00
verifier_kfunc_prog_types.c
verifier_log.c
verify_pkcs7_sig.c selftests/bpf: Fix build error due to certain uninitialized variables 2025-07-15 14:38:58 -07:00
vmlinux.c
vrf_socket_lookup.c
wq.c selftests/bpf: Add more bpf_wq tests 2025-10-10 11:12:51 -07:00
xdp.c
xdp_adjust_frags.c
xdp_adjust_tail.c bpf: Fix an issue in bpf_prog_test_run_xdp when page size greater than 4K 2025-06-12 19:07:51 -07:00
xdp_attach.c
xdp_bonding.c selftests/bpf: use the same udp and tcp headers in tests under test_progs 2024-12-02 08:41:17 -08:00
xdp_bpf2bpf.c
xdp_context_test_run.c bpf: Support specifying linear xdp packet data size for BPF_PROG_TEST_RUN 2025-09-23 13:35:12 -07:00
xdp_cpumap_attach.c selftests/bpf: Adjust data size to have ETH_HLEN 2025-01-29 08:51:51 -08:00
xdp_dev_bound_only.c
xdp_devmap_attach.c selftests/bpf: Add test case for different expected_attach_type 2025-09-27 06:24:27 -07:00
xdp_do_redirect.c selftests/bpf: Fix xdp_do_redirect failure with 64KB page size 2025-06-12 19:07:51 -07:00
xdp_flowtable.c selftests/bpf: use the same udp and tcp headers in tests under test_progs 2024-12-02 08:41:17 -08:00
xdp_info.c
xdp_link.c
xdp_metadata.c selftests/bpf: xdp_metadata: Check XDP_REDIRCT support for dev-bound progs 2025-05-01 12:54:06 -07:00
xdp_noinline.c
xdp_perf.c
xdp_pull_data.c selftests/bpf: Test bpf_xdp_pull_data 2025-09-23 13:35:12 -07:00
xdp_synproxy.c
xdp_vlan.c selftests/bpf: Migrate test_xdp_vlan.sh into test_progs 2025-03-19 16:01:33 -07:00
xdpwall.c
xfrm_info.c
xsk.c selftests/bpf: test_xsk: Integrate test_xsk.c to test_progs framework 2025-10-31 09:24:39 -07:00