Searched refs:names_map (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/perf/util/bpf_skel/ |
H A D | kwork_trace.bpf.c | 180 void *names_map, in update_timestart_and_name() argument 188 do_update_name(names_map, key, name); in update_timestart_and_name() 206 void *names_map, in update_timeend_and_name() argument 214 do_update_name(names_map, key, name); in update_timeend_and_name()
|
/openbmc/linux/tools/lib/bpf/ |
H A D | btf.c | 4529 static int btf_dedup_fill_unique_names_map(struct btf_dedup *d, struct hashmap *names_map) in btf_dedup_fill_unique_names_map() argument 4552 err = hashmap__add(names_map, t->name_off, type_id); in btf_dedup_fill_unique_names_map() 4554 err = hashmap__set(names_map, t->name_off, 0, NULL, NULL); in btf_dedup_fill_unique_names_map() 4563 static int btf_dedup_resolve_fwd(struct btf_dedup *d, struct hashmap *names_map, __u32 type_id) in btf_dedup_resolve_fwd() argument 4578 if (!hashmap__find(names_map, t->name_off, &cand_id)) in btf_dedup_resolve_fwd() 4631 struct hashmap *names_map; in btf_dedup_resolve_fwds() local 4633 names_map = hashmap__new(btf_dedup_identity_hash_fn, btf_dedup_equal_fn, NULL); in btf_dedup_resolve_fwds() 4634 if (IS_ERR(names_map)) in btf_dedup_resolve_fwds() 4635 return PTR_ERR(names_map); in btf_dedup_resolve_fwds() 4637 err = btf_dedup_fill_unique_names_map(d, names_map); in btf_dedup_resolve_fwds() [all …]
|