Searched refs:specs_hash (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/tools/lib/bpf/ |
D | usdt.c | 891 static int allocate_spec_id(struct usdt_manager *man, struct hashmap *specs_hash, in allocate_spec_id() argument 899 if (hashmap__find(specs_hash, target->spec_str, &tmp)) { in allocate_spec_id() 918 err = hashmap__add(specs_hash, target->spec_str, (void *)(long)*spec_id); in allocate_spec_id() 931 err = hashmap__add(specs_hash, target->spec_str, (void *)(long)*spec_id); in allocate_spec_id() 952 struct hashmap *specs_hash = NULL; in usdt_manager_attach_usdt() local 996 specs_hash = hashmap__new(specs_hash_fn, specs_equal_fn, NULL); in usdt_manager_attach_usdt() 997 if (IS_ERR(specs_hash)) { in usdt_manager_attach_usdt() 998 err = PTR_ERR(specs_hash); in usdt_manager_attach_usdt() 1032 err = allocate_spec_id(man, specs_hash, link, target, &spec_id, &is_new); in usdt_manager_attach_usdt() 1073 hashmap__free(specs_hash); in usdt_manager_attach_usdt() [all …]
|