Home
last modified time | relevance | path

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

/third_party/libbpf/src/
Dusdt.c815 struct bpf_link_usdt *usdt_link = container_of(link, struct bpf_link_usdt, link); in bpf_link_usdt_detach() local
816 struct usdt_manager *man = usdt_link->usdt_man; in bpf_link_usdt_detach()
819 for (i = 0; i < usdt_link->uprobe_cnt; i++) { in bpf_link_usdt_detach()
821 bpf_link__destroy(usdt_link->uprobes[i].link); in bpf_link_usdt_detach()
831 &usdt_link->uprobes[i].abs_ip); in bpf_link_usdt_detach()
840 man->free_spec_ids = usdt_link->spec_ids; in bpf_link_usdt_detach()
841 man->free_spec_cnt = usdt_link->spec_cnt; in bpf_link_usdt_detach()
842 usdt_link->spec_ids = NULL; in bpf_link_usdt_detach()
845 size_t new_cnt = man->free_spec_cnt + usdt_link->spec_cnt; in bpf_link_usdt_detach()
857 memcpy(new_free_ids + man->free_spec_cnt, usdt_link->spec_ids, in bpf_link_usdt_detach()
[all …]