Searched refs:hashmap__add (Results 1 – 15 of 15) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | hashmap.c | 65 err = hashmap__add(map, k, v); in test_hashmap_generic() 109 err = hashmap__add(map, k, v); in test_hashmap_generic() 110 if (CHECK(err != -EEXIST, "hashmap__add", in test_hashmap_generic() 285 err = hashmap__add(map, "b", "banana"); in test_hashmap_ptr_iface() 286 if (CHECK(err, "hashmap__add", "unexpected error: %d\n", err)) in test_hashmap_ptr_iface()
|
H A D | kprobe_multi_test.c | 513 * Filtering out duplicates by using hashmap__add, which won't in get_syms() 548 err = hashmap__add(map, ksym_name, 0); in get_syms()
|
/linux/tools/perf/util/ |
H A D | bpf-trace-summary.c | 180 if (hashmap__add(hash, data->key, data) < 0) { in update_thread_stats() 253 if (hashmap__add(hash, data->key, data) < 0) { in update_total_stats() 313 if (hashmap__add(hash, data->key, data) < 0) { in update_cgroup_stats()
|
H A D | hashmap.h | 138 #define hashmap__add(map, key, value) \ macro
|
H A D | threads.c | 118 if (hashmap__add(&table->shard, tid, res)) { in threads__findnew()
|
H A D | hwmon_pmu.c | 276 err = hashmap__add(&pmu->events, key.type_and_num, value); in hwmon_pmu__read_events()
|
H A D | stat.c | 361 ret = hashmap__add(mask, key, 1); in check_per_pkg()
|
H A D | bpf_lock_contention.c | 95 hashmap__add(&slab_hash, data->id, data); in run_slab_cache_iter()
|
H A D | annotate.c | 246 if (hashmap__add(src->samples, hash_key, entry) < 0) in __symbol__inc_addr_samples()
|
/linux/tools/lib/bpf/ |
H A D | strset.c | 67 /* hashmap__add() returns EEXIST if string with the same in strset__new() 70 err = hashmap__add(hash, off, off); in strset__new()
|
H A D | hashmap.h | 138 #define hashmap__add(map, key, value) \ macro
|
H A D | usdt.c | 930 err = hashmap__add(specs_hash, target->spec_str, *spec_id); in allocate_spec_id() 943 err = hashmap__add(specs_hash, target->spec_str, *spec_id); in allocate_spec_id()
|
H A D | btf.c | 5133 err = hashmap__add(names_map, t->name_off, type_id); in btf_dedup_fill_unique_names_map()
|
/linux/tools/perf/ |
H A D | builtin-ftrace.c | 1240 hashmap__add(ftrace->profile_hash, key, prof); in add_func_duration()
|
H A D | builtin-trace.c | 2633 if (hashmap__add(syscall_stats, id, stats) < 0) { in thread__update_stats()
|