Searched refs:spec_id (Results 1 – 1 of 1) sorted by relevance
| /linux/tools/lib/bpf/ |
| H A D | usdt.c | 963 int *spec_id, bool *is_new) in allocate_spec_id() argument 971 *spec_id = tmp; in allocate_spec_id() 986 *spec_id = man->free_spec_ids[man->free_spec_cnt - 1]; in allocate_spec_id() 989 err = hashmap__add(specs_hash, target->spec_str, *spec_id); in allocate_spec_id() 999 *spec_id = man->next_free_spec_id; in allocate_spec_id() 1002 err = hashmap__add(specs_hash, target->spec_str, *spec_id); in allocate_spec_id() 1010 link->spec_ids[link->spec_cnt] = *spec_id; in allocate_spec_id() 1095 int spec_id; in usdt_manager_attach_usdt() local 1105 err = allocate_spec_id(man, specs_hash, link, target, &spec_id, &is_new); in usdt_manager_attach_usdt() 1109 if (is_new && bpf_map_update_elem(spec_map_fd, &spec_id, &target->spec, BPF_ANY)) { in usdt_manager_attach_usdt() [all …]
|