Searched refs:names_map (Results 1 – 2 of 2) sorted by relevance
| /linux-6.15/tools/perf/util/bpf_skel/ |
| H A D | kwork_trace.bpf.c | 181 void *names_map, in update_timestart_and_name() argument 189 do_update_name(names_map, key, name); in update_timestart_and_name() 207 void *names_map, in update_timeend_and_name() argument 215 do_update_name(names_map, key, name); in update_timeend_and_name()
|
| /linux-6.15/tools/lib/bpf/ |
| H A D | btf.c | 4997 static int btf_dedup_fill_unique_names_map(struct btf_dedup *d, struct hashmap *names_map) in btf_dedup_fill_unique_names_map() argument 5020 err = hashmap__add(names_map, t->name_off, type_id); in btf_dedup_fill_unique_names_map() 5022 err = hashmap__set(names_map, t->name_off, 0, NULL, NULL); in btf_dedup_fill_unique_names_map() 5046 if (!hashmap__find(names_map, t->name_off, &cand_id)) in btf_dedup_resolve_fwd() 5099 struct hashmap *names_map; in btf_dedup_resolve_fwds() local 5101 names_map = hashmap__new(btf_dedup_identity_hash_fn, btf_dedup_equal_fn, NULL); in btf_dedup_resolve_fwds() 5102 if (IS_ERR(names_map)) in btf_dedup_resolve_fwds() 5103 return PTR_ERR(names_map); in btf_dedup_resolve_fwds() 5105 err = btf_dedup_fill_unique_names_map(d, names_map); in btf_dedup_resolve_fwds() 5110 err = btf_dedup_resolve_fwd(d, names_map, d->btf->start_id + i); in btf_dedup_resolve_fwds() [all …]
|