Home
last modified time | relevance | path

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

/Linux-v6.6/tools/lib/bpf/
Dusdt.c960 unsigned long *offsets = NULL, *ref_ctr_offsets = NULL; in usdt_manager_attach_usdt() local
1016 ref_ctr_offsets = calloc(target_cnt, sizeof(*ref_ctr_offsets)); in usdt_manager_attach_usdt()
1018 if (!offsets || !ref_ctr_offsets || !cookies) { in usdt_manager_attach_usdt()
1070 ref_ctr_offsets[i] = target->sema_off; in usdt_manager_attach_usdt()
1092 .ref_ctr_offsets = ref_ctr_offsets, in usdt_manager_attach_usdt()
1108 free(ref_ctr_offsets); in usdt_manager_attach_usdt()
1119 free(ref_ctr_offsets); in usdt_manager_attach_usdt()
Dbpf.h400 const unsigned long *ref_ctr_offsets; member
Dbpf.c775 …attr.link_create.uprobe_multi.ref_ctr_offsets = ptr_to_u64(OPTS_GET(opts, uprobe_multi.ref_ctr_off… in bpf_link_create()
Dlibbpf.h541 const unsigned long *ref_ctr_offsets; member
Dlibbpf.c11253 const unsigned long *ref_ctr_offsets = NULL, *offsets = NULL; in bpf_program__attach_uprobe_multi() local
11269 ref_ctr_offsets = OPTS_GET(opts, ref_ctr_offsets, NULL); in bpf_program__attach_uprobe_multi()
11293 if (syms || offsets || ref_ctr_offsets || cookies || cnt) in bpf_program__attach_uprobe_multi()
11325 lopts.uprobe_multi.ref_ctr_offsets = ref_ctr_offsets; in bpf_program__attach_uprobe_multi()
/Linux-v6.6/kernel/trace/
Dbpf_trace.c3167 unsigned long *ref_ctr_offsets = NULL; in bpf_uprobe_multi_link_attach() local
3202 uref_ctr_offsets = u64_to_user_ptr(attr->link_create.uprobe_multi.ref_ctr_offsets); in bpf_uprobe_multi_link_attach()
3241 ref_ctr_offsets = kvcalloc(cnt, sizeof(*ref_ctr_offsets), GFP_KERNEL); in bpf_uprobe_multi_link_attach()
3242 if (!ref_ctr_offsets) in bpf_uprobe_multi_link_attach()
3251 if (uref_ctr_offsets && __get_user(ref_ctr_offsets[i], uref_ctr_offsets + i)) { in bpf_uprobe_multi_link_attach()
3282 ref_ctr_offsets ? ref_ctr_offsets[i] : 0, in bpf_uprobe_multi_link_attach()
3294 kvfree(ref_ctr_offsets); in bpf_uprobe_multi_link_attach()
3298 kvfree(ref_ctr_offsets); in bpf_uprobe_multi_link_attach()
/Linux-v6.6/tools/include/uapi/linux/
Dbpf.h1641 __aligned_u64 ref_ctr_offsets; member
/Linux-v6.6/include/uapi/linux/
Dbpf.h1641 __aligned_u64 ref_ctr_offsets; member