Searched refs:specs_hash (Results 1 – 1 of 1) sorted by relevance
/linux/tools/lib/bpf/ |
H A D | usdt.c | 902 static int allocate_spec_id(struct usdt_manager *man, struct hashmap *specs_hash, in allocate_spec_id() argument 911 if (hashmap__find(specs_hash, target->spec_str, &tmp)) { in allocate_spec_id() 930 err = hashmap__add(specs_hash, target->spec_str, *spec_id); in allocate_spec_id() 943 err = hashmap__add(specs_hash, target->spec_str, *spec_id); in allocate_spec_id() 965 struct hashmap *specs_hash = NULL; in usdt_manager_attach_usdt() local 999 specs_hash = hashmap__new(specs_hash_fn, specs_equal_fn, NULL); in usdt_manager_attach_usdt() 1000 if (IS_ERR(specs_hash)) { in usdt_manager_attach_usdt() 1001 err = PTR_ERR(specs_hash); in usdt_manager_attach_usdt() 1046 err = allocate_spec_id(man, specs_hash, link, target, &spec_id, &is_new); in usdt_manager_attach_usdt() 1115 hashmap__free(specs_hash); in usdt_manager_attach_usdt() [all...] |