Home
last modified time | relevance | path

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

/linux/tools/lib/bpf/
H A Dusdt.c823 struct bpf_link_usdt *usdt_link = container_of(link, struct bpf_link_usdt, link); in bpf_link_usdt_detach() local
824 struct usdt_manager *man = usdt_link->usdt_man; in bpf_link_usdt_detach()
827 bpf_link__destroy(usdt_link->multi_link); in bpf_link_usdt_detach()
830 for (i = 0; i < usdt_link->uprobe_cnt; i++) { in bpf_link_usdt_detach()
832 bpf_link__destroy(usdt_link->uprobes[i].link); in bpf_link_usdt_detach()
842 &usdt_link->uprobes[i].abs_ip); in bpf_link_usdt_detach()
851 man->free_spec_ids = usdt_link->spec_ids; in bpf_link_usdt_detach()
852 man->free_spec_cnt = usdt_link->spec_cnt; in bpf_link_usdt_detach()
853 usdt_link->spec_ids = NULL; in bpf_link_usdt_detach()
856 size_t new_cnt = man->free_spec_cnt + usdt_link->spec_cnt; in bpf_link_usdt_detach()
[all …]