Home
last modified time | relevance | path

Searched refs:uprobe_multi (Results 1 – 11 of 11) sorted by relevance

/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Duprobe_multi_test.c92 static void uprobe_multi_test_run(struct uprobe_multi *skel, struct child *child) in uprobe_multi_test_run()
135 struct uprobe_multi *skel = NULL; in test_skel_api()
157 struct uprobe_multi *skel = NULL; in __test_attach_api()
242 struct uprobe_multi *skel = NULL; in __test_link_api()
256 opts.uprobe_multi.path = path; in __test_link_api()
257 opts.uprobe_multi.offsets = offsets; in __test_link_api()
258 opts.uprobe_multi.cnt = ARRAY_SIZE(syms); in __test_link_api()
259 opts.uprobe_multi.pid = child ? child->pid : 0; in __test_link_api()
290 opts.uprobe_multi.pid = 0; in __test_link_api()
Dbpf_cookie.c249 static void uprobe_multi_test_run(struct uprobe_multi *skel) in uprobe_multi_test_run()
274 struct uprobe_multi *skel = NULL; in uprobe_multi_attach_api_subtest()
/Linux-v6.6/tools/lib/bpf/
Dbpf.c771 attr.link_create.uprobe_multi.flags = OPTS_GET(opts, uprobe_multi.flags, 0); in bpf_link_create()
772 attr.link_create.uprobe_multi.cnt = OPTS_GET(opts, uprobe_multi.cnt, 0); in bpf_link_create()
773 attr.link_create.uprobe_multi.path = ptr_to_u64(OPTS_GET(opts, uprobe_multi.path, 0)); in bpf_link_create()
774 attr.link_create.uprobe_multi.offsets = ptr_to_u64(OPTS_GET(opts, uprobe_multi.offsets, 0)); in bpf_link_create()
775 …attr.link_create.uprobe_multi.ref_ctr_offsets = ptr_to_u64(OPTS_GET(opts, uprobe_multi.ref_ctr_off… in bpf_link_create()
776 attr.link_create.uprobe_multi.cookies = ptr_to_u64(OPTS_GET(opts, uprobe_multi.cookies, 0)); in bpf_link_create()
777 attr.link_create.uprobe_multi.pid = OPTS_GET(opts, uprobe_multi.pid, 0); in bpf_link_create()
778 if (!OPTS_ZEROED(opts, uprobe_multi)) in bpf_link_create()
Dbpf.h403 } uprobe_multi; member
421 #define bpf_link_create_opts__last_field uprobe_multi.pid
Dlibbpf.c4853 link_opts.uprobe_multi.path = "/"; in probe_uprobe_multi_link()
4854 link_opts.uprobe_multi.offsets = &offset; in probe_uprobe_multi_link()
4855 link_opts.uprobe_multi.cnt = 1; in probe_uprobe_multi_link()
11323 lopts.uprobe_multi.path = path; in bpf_program__attach_uprobe_multi()
11324 lopts.uprobe_multi.offsets = offsets; in bpf_program__attach_uprobe_multi()
11325 lopts.uprobe_multi.ref_ctr_offsets = ref_ctr_offsets; in bpf_program__attach_uprobe_multi()
11326 lopts.uprobe_multi.cookies = cookies; in bpf_program__attach_uprobe_multi()
11327 lopts.uprobe_multi.cnt = cnt; in bpf_program__attach_uprobe_multi()
11328 lopts.uprobe_multi.flags = OPTS_GET(opts, retprobe, false) ? BPF_F_UPROBE_MULTI_RETURN : 0; in bpf_program__attach_uprobe_multi()
11333 lopts.uprobe_multi.pid = pid; in bpf_program__attach_uprobe_multi()
/Linux-v6.6/tools/testing/selftests/bpf/
D.gitignore47 /uprobe_multi
DMakefile591 $(OUTPUT)/uprobe_multi \
705 $(OUTPUT)/uprobe_multi: uprobe_multi.c
/Linux-v6.6/kernel/trace/
Dbpf_trace.c3187 flags = attr->link_create.uprobe_multi.flags; in bpf_uprobe_multi_link_attach()
3195 upath = u64_to_user_ptr(attr->link_create.uprobe_multi.path); in bpf_uprobe_multi_link_attach()
3196 uoffsets = u64_to_user_ptr(attr->link_create.uprobe_multi.offsets); in bpf_uprobe_multi_link_attach()
3197 cnt = attr->link_create.uprobe_multi.cnt; in bpf_uprobe_multi_link_attach()
3202 uref_ctr_offsets = u64_to_user_ptr(attr->link_create.uprobe_multi.ref_ctr_offsets); in bpf_uprobe_multi_link_attach()
3203 ucookies = u64_to_user_ptr(attr->link_create.uprobe_multi.cookies); in bpf_uprobe_multi_link_attach()
3221 pid = attr->link_create.uprobe_multi.pid; in bpf_uprobe_multi_link_attach()
/Linux-v6.6/tools/include/uapi/linux/
Dbpf.h1646 } uprobe_multi; member
/Linux-v6.6/include/uapi/linux/
Dbpf.h1646 } uprobe_multi; member
/Linux-v6.6/kernel/bpf/
Dsyscall.c4893 #define BPF_LINK_CREATE_LAST_FIELD link_create.uprobe_multi.pid