Home
last modified time | relevance | path

Searched refs:names_map (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/tools/perf/util/bpf_skel/
Dkwork_trace.bpf.c181 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.12.1/tools/lib/bpf/
Dbtf.c4782 static int btf_dedup_fill_unique_names_map(struct btf_dedup *d, struct hashmap *names_map) in btf_dedup_fill_unique_names_map() argument
4805 err = hashmap__add(names_map, t->name_off, type_id); in btf_dedup_fill_unique_names_map()
4807 err = hashmap__set(names_map, t->name_off, 0, NULL, NULL); in btf_dedup_fill_unique_names_map()
4816 static int btf_dedup_resolve_fwd(struct btf_dedup *d, struct hashmap *names_map, __u32 type_id) in btf_dedup_resolve_fwd() argument
4831 if (!hashmap__find(names_map, t->name_off, &cand_id)) in btf_dedup_resolve_fwd()
4884 struct hashmap *names_map; in btf_dedup_resolve_fwds() local
4886 names_map = hashmap__new(btf_dedup_identity_hash_fn, btf_dedup_equal_fn, NULL); in btf_dedup_resolve_fwds()
4887 if (IS_ERR(names_map)) in btf_dedup_resolve_fwds()
4888 return PTR_ERR(names_map); in btf_dedup_resolve_fwds()
4890 err = btf_dedup_fill_unique_names_map(d, names_map); in btf_dedup_resolve_fwds()
[all …]