Searched refs:uprobe_multi (Results 1 – 12 of 12) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | uprobe_multi_test.c | 92 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()
|
H A D | bpf_cookie.c | 249 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()
|
/openbmc/linux/tools/lib/bpf/ |
H A D | bpf.c | 771 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()
|
H A D | bpf.h | 403 } uprobe_multi; member 421 #define bpf_link_create_opts__last_field uprobe_multi.pid
|
H A D | libbpf.c | 4856 link_opts.uprobe_multi.path = "/"; in probe_uprobe_multi_link() 4857 link_opts.uprobe_multi.offsets = &offset; in probe_uprobe_multi_link() 4858 link_opts.uprobe_multi.cnt = 1; in probe_uprobe_multi_link() 11329 lopts.uprobe_multi.path = path; in bpf_program__attach_uprobe_multi() 11330 lopts.uprobe_multi.offsets = offsets; in bpf_program__attach_uprobe_multi() 11331 lopts.uprobe_multi.ref_ctr_offsets = ref_ctr_offsets; in bpf_program__attach_uprobe_multi() 11332 lopts.uprobe_multi.cookies = cookies; in bpf_program__attach_uprobe_multi() 11333 lopts.uprobe_multi.cnt = cnt; in bpf_program__attach_uprobe_multi() 11334 lopts.uprobe_multi.flags = OPTS_GET(opts, retprobe, false) ? BPF_F_UPROBE_MULTI_RETURN : 0; in bpf_program__attach_uprobe_multi() 11339 lopts.uprobe_multi.pid = pid; in bpf_program__attach_uprobe_multi()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | .gitignore | 47 /uprobe_multi
|
H A D | Makefile | 603 $(OUTPUT)/uprobe_multi \ 718 $(OUTPUT)/uprobe_multi: CFLAGS += $(if $(filter mips, $(ARCH)),-mxgot) 719 $(OUTPUT)/uprobe_multi: uprobe_multi.c
|
/openbmc/linux/include/linux/ |
H A D | bpf_types.h | 153 BPF_LINK_TYPE(BPF_LINK_TYPE_UPROBE_MULTI, uprobe_multi)
|
/openbmc/linux/kernel/trace/ |
H A D | bpf_trace.c | 3193 flags = attr->link_create.uprobe_multi.flags; in bpf_uprobe_multi_link_attach() 3201 upath = u64_to_user_ptr(attr->link_create.uprobe_multi.path); in bpf_uprobe_multi_link_attach() 3202 uoffsets = u64_to_user_ptr(attr->link_create.uprobe_multi.offsets); in bpf_uprobe_multi_link_attach() 3203 cnt = attr->link_create.uprobe_multi.cnt; in bpf_uprobe_multi_link_attach() 3204 pid = attr->link_create.uprobe_multi.pid; in bpf_uprobe_multi_link_attach() 3211 uref_ctr_offsets = u64_to_user_ptr(attr->link_create.uprobe_multi.ref_ctr_offsets); in bpf_uprobe_multi_link_attach() 3212 ucookies = u64_to_user_ptr(attr->link_create.uprobe_multi.cookies); in bpf_uprobe_multi_link_attach()
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 1663 } uprobe_multi; member
|
/openbmc/linux/include/uapi/linux/ |
H A D | bpf.h | 1663 } uprobe_multi; member
|
/openbmc/linux/kernel/bpf/ |
H A D | syscall.c | 4997 #define BPF_LINK_CREATE_LAST_FIELD link_create.uprobe_multi.pid
|