/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | fill_link_info.c | 404 __u64 *cookies, __u64 *ref_ctr_offsets) 431 info.uprobe_multi.ref_ctr_offsets = ptr_to_u64(ref_ctr_offsets_buf); 452 if (info.uprobe_multi.ref_ctr_offsets) { 453 ASSERT_EQ(ref_ctr_offsets_buf[i], ref_ctr_offsets[i], 454 "info.uprobe_multi.ref_ctr_offsets"); 532 __u64 *offsets = NULL, *ref_ctr_offsets; local 537 (unsigned long **) &ref_ctr_offsets, STT_OBJECT); 548 opts.ref_ctr_offsets = (unsigned long *) &ref_ctr_offsets[0]; 560 verify_umulti_link_info(link_fd, retprobe, offsets, cookies, ref_ctr_offsets); 403 verify_umulti_link_info(int fd, bool retprobe, __u64 *offsets, __u64 *cookies, __u64 *ref_ctr_offsets) argument [all...] |
H A D | uprobe_multi_test.c | 363 /* wrong ref_ctr_offsets pointer */ 368 .uprobe_multi.ref_ctr_offsets = (unsigned long *) 1,
|
/linux-master/tools/bpf/bpftool/ |
H A D | link.c | 355 u64_to_arr(info->uprobe_multi.ref_ctr_offsets)[i]); 778 u64_to_arr(info->uprobe_multi.ref_ctr_offsets)[i], 967 __u64 *ref_ctr_offsets = NULL, *offsets = NULL, *cookies = NULL; local 1031 ref_ctr_offsets = calloc(count, sizeof(__u64)); 1032 if (!ref_ctr_offsets) { 1038 info.uprobe_multi.ref_ctr_offsets = ptr_to_u64(ref_ctr_offsets); 1042 free(ref_ctr_offsets); 1088 free(ref_ctr_offsets);
|
/linux-master/tools/lib/bpf/ |
H A D | usdt.c | 960 unsigned long *offsets = NULL, *ref_ctr_offsets = NULL; local 1016 ref_ctr_offsets = calloc(target_cnt, sizeof(*ref_ctr_offsets)); 1018 if (!offsets || !ref_ctr_offsets || !cookies) { 1070 ref_ctr_offsets[i] = target->sema_off; 1092 .ref_ctr_offsets = ref_ctr_offsets, 1108 free(ref_ctr_offsets); 1119 free(ref_ctr_offsets);
|
H A D | bpf.h | 415 const unsigned long *ref_ctr_offsets; member in struct:bpf_link_create_opts::__anon3314::__anon3317
|
H A D | bpf.c | 782 attr.link_create.uprobe_multi.ref_ctr_offsets = ptr_to_u64(OPTS_GET(opts, uprobe_multi.ref_ctr_offsets, 0));
|
H A D | libbpf.h | 560 const unsigned long *ref_ctr_offsets; member in struct:bpf_uprobe_multi_opts 581 * syms/offsets/ref_ctr_offsets/cookies/cnt 584 * - ref_ctr_offsets and cookies are optional
|
H A D | libbpf.c | 11750 const unsigned long *ref_ctr_offsets = NULL, *offsets = NULL; local 11766 ref_ctr_offsets = OPTS_GET(opts, ref_ctr_offsets, NULL); 11776 * syms/offsets/ref_ctr_offsets/cookies/cnt 11779 * - ref_ctr_offsets and cookies are optional 11790 if (syms || offsets || ref_ctr_offsets || cookies || cnt) 11822 lopts.uprobe_multi.ref_ctr_offsets = ref_ctr_offsets;
|
/linux-master/include/uapi/linux/ |
H A D | bpf.h | 1759 __aligned_u64 ref_ctr_offsets; member in struct:bpf_attr::__anon2609::__anon2612::__anon2620 6674 __aligned_u64 ref_ctr_offsets; member in struct:bpf_link_info::__anon2663::__anon2678 6677 __u32 count; /* in/out: uprobe_multi offsets/ref_ctr_offsets/cookies count */
|
/linux-master/tools/include/uapi/linux/ |
H A D | bpf.h | 1759 __aligned_u64 ref_ctr_offsets; member in struct:bpf_attr::__anon3150::__anon3153::__anon3161 6674 __aligned_u64 ref_ctr_offsets; member in struct:bpf_link_info::__anon3204::__anon3219 6677 __u32 count; /* in/out: uprobe_multi offsets/ref_ctr_offsets/cookies count */
|
/linux-master/kernel/trace/ |
H A D | bpf_trace.c | 3177 u64 __user *uref_ctr_offsets = u64_to_user_ptr(info->uprobe_multi.ref_ctr_offsets); 3359 * ref_ctr_offsets and cookies are optional 3370 uref_ctr_offsets = u64_to_user_ptr(attr->link_create.uprobe_multi.ref_ctr_offsets);
|