Home
last modified time | relevance | path

Searched refs:ref_ctr_offsets (Results 1 – 9 of 9) sorted by relevance

/tools/testing/selftests/bpf/prog_tests/
A Dfill_link_info.c425 __u64 *cookies, __u64 *ref_ctr_offsets) in verify_umulti_link_info() argument
461 info.uprobe_multi.ref_ctr_offsets = ptr_to_u64(ref_ctr_offsets_buf); in verify_umulti_link_info()
482 if (info.uprobe_multi.ref_ctr_offsets) { in verify_umulti_link_info()
483 ASSERT_EQ(ref_ctr_offsets_buf[i], ref_ctr_offsets[i], in verify_umulti_link_info()
562 __u64 *offsets = NULL, *ref_ctr_offsets; in test_uprobe_multi_fill_link_info() local
567 (unsigned long **) &ref_ctr_offsets, STT_OBJECT); in test_uprobe_multi_fill_link_info()
578 opts.ref_ctr_offsets = (unsigned long *) &ref_ctr_offsets[0]; in test_uprobe_multi_fill_link_info()
590 verify_umulti_link_info(link_fd, retprobe, offsets, cookies, ref_ctr_offsets); in test_uprobe_multi_fill_link_info()
594 free(ref_ctr_offsets); in test_uprobe_multi_fill_link_info()
A Duprobe_multi_test.c503 .uprobe_multi.ref_ctr_offsets = (unsigned long *) 1, in test_attach_api_fails()
591 unsigned long offsets[3], ref_ctr_offsets[3]; in attach_uprobe_fail_refctr() local
624 ref_ctr_offsets[0] = tmp_ref_ctr_offsets[0]; /* sema_1 */ in attach_uprobe_fail_refctr()
625 ref_ctr_offsets[1] = tmp_ref_ctr_offsets[1]; /* sema_2 */ in attach_uprobe_fail_refctr()
626 ref_ctr_offsets[2] = tmp_ref_ctr_offsets[0]; /* sema_1, error */ in attach_uprobe_fail_refctr()
630 opts.uprobe_multi.ref_ctr_offsets = (const unsigned long *) &ref_ctr_offsets; in attach_uprobe_fail_refctr()
/tools/bpf/bpftool/
A Dlink.c355 u64_to_arr(info->uprobe_multi.ref_ctr_offsets)[i]); in show_uprobe_multi_json()
785 u64_to_arr(info->uprobe_multi.ref_ctr_offsets)[i], in show_uprobe_multi_plain()
985 __u64 *ref_ctr_offsets = NULL, *offsets = NULL, *cookies = NULL; in do_show_link() local
1049 ref_ctr_offsets = calloc(count, sizeof(__u64)); in do_show_link()
1050 if (!ref_ctr_offsets) { in do_show_link()
1056 info.uprobe_multi.ref_ctr_offsets = ptr_to_u64(ref_ctr_offsets); in do_show_link()
1060 free(ref_ctr_offsets); in do_show_link()
1106 free(ref_ctr_offsets); in do_show_link()
/tools/lib/bpf/
A Dusdt.c962 unsigned long *offsets = NULL, *ref_ctr_offsets = NULL; in usdt_manager_attach_usdt() local
1018 ref_ctr_offsets = calloc(target_cnt, sizeof(*ref_ctr_offsets)); in usdt_manager_attach_usdt()
1020 if (!offsets || !ref_ctr_offsets || !cookies) { in usdt_manager_attach_usdt()
1072 ref_ctr_offsets[i] = target->sema_off; in usdt_manager_attach_usdt()
1094 .ref_ctr_offsets = ref_ctr_offsets, in usdt_manager_attach_usdt()
1110 free(ref_ctr_offsets); in usdt_manager_attach_usdt()
1121 free(ref_ctr_offsets); in usdt_manager_attach_usdt()
A Dbpf.h418 const unsigned long *ref_ctr_offsets; member
A Dbpf.c785 …attr.link_create.uprobe_multi.ref_ctr_offsets = ptr_to_u64(OPTS_GET(opts, uprobe_multi.ref_ctr_off… in bpf_link_create()
A Dlibbpf.h590 const unsigned long *ref_ctr_offsets; member
A Dlibbpf.c12115 const unsigned long *ref_ctr_offsets = NULL, *offsets = NULL; in bpf_program__attach_uprobe_multi() local
12139 ref_ctr_offsets = OPTS_GET(opts, ref_ctr_offsets, NULL); in bpf_program__attach_uprobe_multi()
12165 if (syms || offsets || ref_ctr_offsets || cookies || cnt) in bpf_program__attach_uprobe_multi()
12202 lopts.uprobe_multi.ref_ctr_offsets = ref_ctr_offsets; in bpf_program__attach_uprobe_multi()
/tools/include/uapi/linux/
A Dbpf.h1802 __aligned_u64 ref_ctr_offsets; member
6752 __aligned_u64 ref_ctr_offsets; member

Completed in 67 milliseconds