Searched refs:target_cnt (Results 1 – 1 of 1) sorted by relevance
/third_party/libbpf/src/ |
D | usdt.c | 576 size_t off, name_off, desc_off, seg_cnt = 0, vma_seg_cnt = 0, target_cnt = 0; in collect_usdt_targets() local 760 tmp = libbpf_reallocarray(targets, target_cnt + 1, sizeof(*targets)); in collect_usdt_targets() 767 target = &targets[target_cnt]; in collect_usdt_targets() 783 target_cnt++; in collect_usdt_targets() 787 *out_target_cnt = target_cnt; in collect_usdt_targets() 788 err = target_cnt; in collect_usdt_targets() 951 size_t target_cnt; in usdt_manager_attach_usdt() local 986 usdt_cookie, &targets, &target_cnt); in usdt_manager_attach_usdt() 1008 link->uprobes = calloc(target_cnt, sizeof(*link->uprobes)); in usdt_manager_attach_usdt() 1014 for (i = 0; i < target_cnt; i++) { in usdt_manager_attach_usdt()
|