Searched refs:kprobe_multi (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | kprobe_multi_test.c | 9 static void kprobe_multi_test_run(struct kprobe_multi *skel, bool test_return) in kprobe_multi_test_run() 42 struct kprobe_multi *skel = NULL; in test_skel_api() 63 struct kprobe_multi *skel = NULL; in test_link_api() 75 opts->kprobe_multi.flags = BPF_F_KPROBE_MULTI_RETURN; in test_link_api() 111 opts.kprobe_multi.addrs = (const unsigned long*) addrs; in test_link_api_addrs() 112 opts.kprobe_multi.cnt = ARRAY_SIZE(addrs); in test_link_api_addrs() 130 opts.kprobe_multi.syms = syms; in test_link_api_syms() 131 opts.kprobe_multi.cnt = ARRAY_SIZE(syms); in test_link_api_syms() 139 struct kprobe_multi *skel = NULL; in test_attach_api() 216 struct kprobe_multi *skel = NULL; in test_attach_api_fails()
|
D | bpf_cookie.c | 70 static void kprobe_multi_test_run(struct kprobe_multi *skel) in kprobe_multi_test_run() 102 struct kprobe_multi *skel = NULL; in kprobe_multi_link_api_subtest() 143 opts.kprobe_multi.addrs = (const unsigned long *) &addrs; in kprobe_multi_link_api_subtest() 144 opts.kprobe_multi.cnt = ARRAY_SIZE(addrs); in kprobe_multi_link_api_subtest() 145 opts.kprobe_multi.cookies = (const __u64 *) &cookies; in kprobe_multi_link_api_subtest() 161 opts.kprobe_multi.flags = BPF_F_KPROBE_MULTI_RETURN; in kprobe_multi_link_api_subtest() 181 struct kprobe_multi *skel = NULL; in kprobe_multi_attach_api_subtest()
|
/linux-6.1.9/tools/lib/bpf/ |
D | bpf.c | 718 attr.link_create.kprobe_multi.flags = OPTS_GET(opts, kprobe_multi.flags, 0); in bpf_link_create() 719 attr.link_create.kprobe_multi.cnt = OPTS_GET(opts, kprobe_multi.cnt, 0); in bpf_link_create() 720 attr.link_create.kprobe_multi.syms = ptr_to_u64(OPTS_GET(opts, kprobe_multi.syms, 0)); in bpf_link_create() 721 attr.link_create.kprobe_multi.addrs = ptr_to_u64(OPTS_GET(opts, kprobe_multi.addrs, 0)); in bpf_link_create() 722 attr.link_create.kprobe_multi.cookies = ptr_to_u64(OPTS_GET(opts, kprobe_multi.cookies, 0)); in bpf_link_create() 723 if (!OPTS_ZEROED(opts, kprobe_multi)) in bpf_link_create()
|
D | bpf.h | 320 } kprobe_multi; member 327 #define bpf_link_create_opts__last_field kprobe_multi.cookies
|
D | libbpf.c | 10293 lopts.kprobe_multi.syms = syms; in bpf_program__attach_kprobe_multi_opts() 10294 lopts.kprobe_multi.addrs = addrs; in bpf_program__attach_kprobe_multi_opts() 10295 lopts.kprobe_multi.cookies = cookies; in bpf_program__attach_kprobe_multi_opts() 10296 lopts.kprobe_multi.cnt = cnt; in bpf_program__attach_kprobe_multi_opts() 10297 lopts.kprobe_multi.flags = retprobe ? BPF_F_KPROBE_MULTI_RETURN : 0; in bpf_program__attach_kprobe_multi_opts()
|
/linux-6.1.9/include/linux/ |
D | bpf_types.h | 144 BPF_LINK_TYPE(BPF_LINK_TYPE_KPROBE_MULTI, kprobe_multi)
|
/linux-6.1.9/kernel/trace/ |
D | bpf_trace.c | 2685 flags = attr->link_create.kprobe_multi.flags; in bpf_kprobe_multi_link_attach() 2689 uaddrs = u64_to_user_ptr(attr->link_create.kprobe_multi.addrs); in bpf_kprobe_multi_link_attach() 2690 usyms = u64_to_user_ptr(attr->link_create.kprobe_multi.syms); in bpf_kprobe_multi_link_attach() 2694 cnt = attr->link_create.kprobe_multi.cnt; in bpf_kprobe_multi_link_attach() 2703 ucookies = u64_to_user_ptr(attr->link_create.kprobe_multi.cookies); in bpf_kprobe_multi_link_attach()
|
/linux-6.1.9/tools/include/uapi/linux/ |
D | bpf.h | 1523 } kprobe_multi; member
|
/linux-6.1.9/include/uapi/linux/ |
D | bpf.h | 1523 } kprobe_multi; member
|
/linux-6.1.9/kernel/bpf/ |
D | syscall.c | 4515 #define BPF_LINK_CREATE_LAST_FIELD link_create.kprobe_multi.cookies
|