Home
last modified time | relevance | path

Searched refs:hashmap__new (Results 1 – 24 of 24) sorted by relevance

/tools/perf/util/
A Dfncache.c25 fncache = hashmap__new(fncache__hash, fncache__equal, /*ctx=*/NULL); in fncache__init()
A Dexpr.c70 hash = hashmap__new(key_hash, key_equal, NULL); in ids__new()
298 ctx->ids = hashmap__new(key_hash, key_equal, NULL); in expr__ctx_new()
A Dhashmap.h85 struct hashmap *hashmap__new(hashmap_hash_fn hash_fn,
A Dhashmap.c51 struct hashmap *hashmap__new(hashmap_hash_fn hash_fn, in hashmap__new() function
A Dstat.c322 mask = hashmap__new(pkg_id_hash, pkg_id_equal, NULL); in check_per_pkg()
A Dpmu.c1178 pmu->aliases = hashmap__new(aliases__hash, aliases__equal, /*ctx=*/ NULL); in perf_pmu__init()
1293 pmu->aliases = hashmap__new(aliases__hash, aliases__equal, /*ctx=*/ NULL); in perf_pmu__create_placeholder_core_pmu()
A Dannotate.c139 src->samples = hashmap__new(sym_hist_hash, sym_hist_equal, NULL); in annotated_source__alloc_histograms()
/tools/testing/selftests/bpf/prog_tests/
A Dhashmap.c51 map = hashmap__new(hash_fn, equal_fn, NULL); in test_hashmap_generic()
267 map = hashmap__new(str_hash_fn, str_equal_fn, NULL); in test_hashmap_ptr_iface()
348 map = hashmap__new(collision_hash_fn, equal_fn, NULL); in test_hashmap_multimap()
419 map = hashmap__new(hash_fn, equal_fn, NULL); in test_hashmap_empty()
A Dkprobe_multi_test.c525 map = hashmap__new(symbol_hash, symbol_equal, NULL); in get_syms()
/tools/lib/bpf/
A Dstrset.c48 hash = hashmap__new(strset_hash_fn, strset_equal_fn, set); in strset__new()
A Dhashmap.h85 struct hashmap *hashmap__new(hashmap_hash_fn hash_fn,
A Dhashmap.c51 struct hashmap *hashmap__new(hashmap_hash_fn hash_fn, in hashmap__new() function
A Dbtf_dump.c173 d->type_names = hashmap__new(str_hash_fn, str_equal_fn, NULL); in btf_dump__new()
179 d->ident_names = hashmap__new(str_hash_fn, str_equal_fn, NULL); in btf_dump__new()
A Dbtf.c1973 p.str_off_map = hashmap__new(btf_dedup_identity_hash_fn, btf_dedup_equal_fn, NULL); in btf__add_btf()
3746 d->dedup_table = hashmap__new(hash_fn, btf_dedup_equal_fn, NULL); in btf_dedup_new()
5214 names_map = hashmap__new(btf_dedup_identity_hash_fn, btf_dedup_equal_fn, NULL); in btf_dedup_resolve_fwds()
5740 dist.pipe.str_off_map = hashmap__new(btf_dedup_identity_hash_fn, btf_dedup_equal_fn, NULL); in btf__distill_base()
A Dusdt.c999 specs_hash = hashmap__new(specs_hash_fn, specs_equal_fn, NULL); in usdt_manager_attach_usdt()
A Dlibbpf.c5947 cand_cache = hashmap__new(bpf_core_hash_fn, bpf_core_equal_fn, NULL); in bpf_object__relocate_core()
/tools/bpf/bpftool/
A Dpids.c107 *map = hashmap__new(hash_fn_for_key_as_id, equal_fn_for_key_as_id, NULL); in build_obj_refs_table()
A Dbtf.c1366 btf_prog_table = hashmap__new(hash_fn_for_key_as_id, in do_show()
1368 btf_map_table = hashmap__new(hash_fn_for_key_as_id, in do_show()
A Dlink.c1120 link_table = hashmap__new(hash_fn_for_key_as_id, in do_show()
A Dmap.c685 map_table = hashmap__new(hash_fn_for_key_as_id, in do_show()
A Dgen.c2376 cand_cache = hashmap__new(btfgen_hash_fn, btfgen_equal_fn, NULL); in btfgen_record_obj()
A Dprog.c642 prog_table = hashmap__new(hash_fn_for_key_as_id, in do_show()
/tools/perf/
A Dbuiltin-ftrace.c1211 ftrace->profile_hash = hashmap__new(profile_hash, profile_equal, NULL); in prepare_func_profile()
A Dbuiltin-trace.c1567 return hashmap__new(syscall_id_hash, syscall_id_equal, NULL); in alloc_syscall_stats()

Completed in 109 milliseconds