| /tools/testing/selftests/bpf/prog_tests/ |
| A D | arena_atomics.c | 8 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_add() 33 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_sub() 58 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_and() 75 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_or() 92 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_xor() 109 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_cmpxchg() 131 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_xchg() 151 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_uaf() 167 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_load_acquire() 197 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_store_release()
|
| A D | local_kptr_stash.c | 11 LIBBPF_OPTS(bpf_test_run_opts, opts, in test_local_kptr_stash_simple() 32 LIBBPF_OPTS(bpf_test_run_opts, opts, in test_local_kptr_stash_plain() 53 LIBBPF_OPTS(bpf_test_run_opts, opts, in test_local_kptr_stash_local_with_root() 74 LIBBPF_OPTS(bpf_test_run_opts, opts, in test_local_kptr_stash_unstash() 99 LIBBPF_OPTS(bpf_test_run_opts, opts, in test_refcount_acquire_without_unstash()
|
| A D | rbtree.c | 15 LIBBPF_OPTS(bpf_test_run_opts, opts, in test_rbtree_add_nodes() 37 LIBBPF_OPTS(bpf_test_run_opts, opts, in test_rbtree_add_nodes_nested() 59 LIBBPF_OPTS(bpf_test_run_opts, opts, in test_rbtree_add_and_remove() 81 LIBBPF_OPTS(bpf_test_run_opts, opts, in test_rbtree_add_and_remove_array() 102 LIBBPF_OPTS(bpf_test_run_opts, opts, in test_rbtree_first_and_remove() 126 LIBBPF_OPTS(bpf_test_run_opts, opts, in test_rbtree_api_release_aliasing()
|
| A D | atomics.c | 10 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_add() 35 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_sub() 60 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_and() 82 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_or() 104 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_xor() 126 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_cmpxchg() 148 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_xchg()
|
| A D | raw_tp_writable_test_run.c | 21 LIBBPF_OPTS(bpf_prog_load_opts, trace_opts, in serial_test_raw_tp_writable_test_run() 39 LIBBPF_OPTS(bpf_prog_load_opts, skb_opts, in serial_test_raw_tp_writable_test_run() 60 LIBBPF_OPTS(bpf_test_run_opts, topts, in serial_test_raw_tp_writable_test_run()
|
| A D | dummy_st_ops.c | 31 LIBBPF_OPTS(bpf_test_run_opts, attr, in test_dummy_init_ret_value() 57 LIBBPF_OPTS(bpf_test_run_opts, attr, in test_dummy_init_ptr_arg() 103 LIBBPF_OPTS(bpf_test_run_opts, attr, in test_dummy_multiple_args() 132 LIBBPF_OPTS(bpf_test_run_opts, attr, in test_dummy_sleepable() 157 LIBBPF_OPTS(bpf_test_run_opts, attr, in test_dummy_sleepable_reject_null()
|
| A D | stream.c | 61 LIBBPF_OPTS(bpf_test_run_opts, opts); in test_stream_errors() 62 LIBBPF_OPTS(bpf_prog_stream_read_opts, ropts); in test_stream_errors() 104 LIBBPF_OPTS(bpf_test_run_opts, opts); in test_stream_syscall() 105 LIBBPF_OPTS(bpf_prog_stream_read_opts, ropts); in test_stream_syscall()
|
| A D | cb_refs.c | 22 LIBBPF_OPTS(bpf_object_open_opts, opts, .kernel_log_buf = log_buf, in test_cb_refs() 30 LIBBPF_OPTS(bpf_test_run_opts, run_opts, in test_cb_refs()
|
| A D | kprobe_multi_test.c | 15 LIBBPF_OPTS(bpf_test_run_opts, topts); in kprobe_multi_test_run() 103 LIBBPF_OPTS(bpf_link_create_opts, opts); in test_link_api_addrs() 122 LIBBPF_OPTS(bpf_link_create_opts, opts); in test_link_api_syms() 173 LIBBPF_OPTS(bpf_kprobe_multi_opts, opts); in test_attach_api_pattern() 181 LIBBPF_OPTS(bpf_kprobe_multi_opts, opts); in test_attach_api_addrs() 200 LIBBPF_OPTS(bpf_kprobe_multi_opts, opts); in test_attach_api_syms() 219 LIBBPF_OPTS(bpf_kprobe_multi_opts, opts); in test_attach_api_fails() 335 LIBBPF_OPTS(bpf_kprobe_multi_opts, opts); in test_session_skel_api() 336 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_session_skel_api() 371 LIBBPF_OPTS(bpf_kprobe_multi_opts, opts); in test_session_cookie_skel_api() [all …]
|
| A D | custom_sec_handlers.c | 62 LIBBPF_OPTS(libbpf_prog_handler_opts, abc1_opts, in register_sec_handlers() 68 LIBBPF_OPTS(libbpf_prog_handler_opts, abc2_opts, in register_sec_handlers() 74 LIBBPF_OPTS(libbpf_prog_handler_opts, custom_opts, in register_sec_handlers() 96 LIBBPF_OPTS(libbpf_prog_handler_opts, opts, in test_custom_sec_handlers()
|
| A D | ksyms_module.c | 13 LIBBPF_OPTS(bpf_test_run_opts, topts, in test_ksyms_module_lskel() 40 LIBBPF_OPTS(bpf_test_run_opts, topts, in test_ksyms_module_libbpf()
|
| A D | tc_opts.c | 15 LIBBPF_OPTS(bpf_prog_attach_opts, opta); in test_ns_tc_opts_basic() 16 LIBBPF_OPTS(bpf_prog_detach_opts, optd); in test_ns_tc_opts_basic() 17 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_ns_tc_opts_basic() 113 LIBBPF_OPTS(bpf_prog_attach_opts, opta); in test_tc_opts_before_target() 114 LIBBPF_OPTS(bpf_prog_detach_opts, optd); in test_tc_opts_before_target() 115 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_tc_opts_before_target() 265 LIBBPF_OPTS(bpf_prog_attach_opts, opta); in test_tc_opts_after_target() 267 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_tc_opts_after_target() 458 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_tc_opts_revision_target() 1401 LIBBPF_OPTS(bpf_tcx_opts, optl); in test_tc_opts_mixed_target() [all …]
|
| A D | get_func_ip_test.c | 14 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_function_entry() 67 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_function_body_kprobe() 68 LIBBPF_OPTS(bpf_kprobe_opts, kopts); in test_function_body_kprobe()
|
| A D | bpf_cookie.c | 73 LIBBPF_OPTS(bpf_test_run_opts, topts); in kprobe_multi_test_run() 104 LIBBPF_OPTS(bpf_link_create_opts, opts); in kprobe_multi_link_api_subtest() 180 LIBBPF_OPTS(bpf_kprobe_multi_opts, opts); in kprobe_multi_attach_api_subtest() 181 LIBBPF_OPTS(bpf_test_run_opts, topts); in kprobe_multi_attach_api_subtest() 275 LIBBPF_OPTS(bpf_uprobe_multi_opts, opts); in uprobe_multi_attach_api_subtest() 515 LIBBPF_OPTS(bpf_test_run_opts, opts); in tracing_subtest() 516 LIBBPF_OPTS(bpf_link_create_opts, link_opts); in tracing_subtest() 604 LIBBPF_OPTS(bpf_raw_tp_opts, raw_tp_opts); in tp_btf_subtest() 605 LIBBPF_OPTS(bpf_trace_opts, trace_opts); in tp_btf_subtest() 684 LIBBPF_OPTS(bpf_raw_tp_opts, raw_tp_opts); in raw_tp_subtest() [all …]
|
| A D | fexit_stress.c | 25 LIBBPF_OPTS(bpf_prog_load_opts, trace_opts, in serial_test_fexit_stress() 29 LIBBPF_OPTS(bpf_test_run_opts, topts); in serial_test_fexit_stress()
|
| A D | percpu_alloc.c | 11 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_array() 47 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_array_sleepable() 80 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_cgrp_local_storage()
|
| A D | missed.c | 14 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_missed_perf_kprobe() 66 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_missed_kprobe_recursion() 105 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_missed_tp_recursion()
|
| A D | dynptr.c | 99 LIBBPF_OPTS(bpf_test_run_opts, topts, in verify_success() 130 LIBBPF_OPTS(bpf_test_run_opts, topts, in verify_success() 153 LIBBPF_OPTS(bpf_test_run_opts, opts, in verify_success()
|
| A D | arena_htab.c | 35 LIBBPF_OPTS(bpf_test_run_opts, opts); in test_arena_htab_llvm() 67 LIBBPF_OPTS(bpf_test_run_opts, opts); in test_arena_htab_asm()
|
| A D | prepare.c | 25 LIBBPF_OPTS(bpf_test_run_opts, topts, in test_prepare_no_load() 53 LIBBPF_OPTS(bpf_test_run_opts, topts, in test_prepare_load()
|
| A D | crypto_sanity.c | 82 LIBBPF_OPTS(bpf_tc_hook, qdisc_hook, .attach_point = BPF_TC_EGRESS); in test_crypto_sanity() 83 LIBBPF_OPTS(bpf_tc_opts, tc_attach_enc); in test_crypto_sanity() 84 LIBBPF_OPTS(bpf_tc_opts, tc_attach_dec); in test_crypto_sanity() 85 LIBBPF_OPTS(bpf_test_run_opts, opts); in test_crypto_sanity()
|
| A D | decap_sanity.c | 18 LIBBPF_OPTS(bpf_tc_hook, qdisc_hook, .attach_point = BPF_TC_EGRESS); in test_decap_sanity() 19 LIBBPF_OPTS(bpf_tc_opts, tc_attach); in test_decap_sanity()
|
| A D | syscall.c | 23 LIBBPF_OPTS(bpf_test_run_opts, tattr, in test_syscall_load_prog() 59 LIBBPF_OPTS(bpf_test_run_opts, opts); in test_syscall_update_outer_map()
|
| A D | cgroup_mprog_opts.c | 20 LIBBPF_OPTS(bpf_prog_attach_opts, opta); in test_prog_attach_detach() 21 LIBBPF_OPTS(bpf_prog_detach_opts, optd); in test_prog_attach_detach() 22 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_prog_attach_detach() 152 LIBBPF_OPTS(bpf_cgroup_opts, opta); in test_link_attach_detach() 153 LIBBPF_OPTS(bpf_cgroup_opts, optd); in test_link_attach_detach() 154 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_link_attach_detach() 278 LIBBPF_OPTS(bpf_prog_attach_opts, opta); in test_preorder_prog_attach_detach() 279 LIBBPF_OPTS(bpf_prog_detach_opts, optd); in test_preorder_prog_attach_detach() 386 LIBBPF_OPTS(bpf_cgroup_opts, opta); in test_preorder_link_attach_detach() 485 LIBBPF_OPTS(bpf_prog_attach_opts, opta); in test_invalid_attach_detach()
|
| /tools/lib/bpf/ |
| A D | features.c | 56 LIBBPF_OPTS(bpf_map_create_opts, map_opts, in probe_kern_global_data() 60 LIBBPF_OPTS(bpf_prog_load_opts, prog_opts, in probe_kern_global_data() 214 LIBBPF_OPTS(bpf_map_create_opts, opts, in probe_kern_array_mmap() 226 LIBBPF_OPTS(bpf_prog_load_opts, opts, in probe_kern_exp_attach_type() 248 LIBBPF_OPTS(bpf_prog_load_opts, opts, in probe_kern_probe_read_kernel() 272 LIBBPF_OPTS(bpf_map_create_opts, map_opts, in probe_prog_bind_map() 276 LIBBPF_OPTS(bpf_prog_load_opts, prog_opts, in probe_prog_bind_map() 339 LIBBPF_OPTS(bpf_prog_load_opts, opts, in probe_perf_link() 365 LIBBPF_OPTS(bpf_prog_load_opts, load_opts, in probe_uprobe_multi_link() 434 LIBBPF_OPTS(bpf_prog_load_opts, opts, in probe_kern_bpf_cookie() [all …]
|