| /linux/tools/perf/tests/ |
| H A D | expr.c | 138 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "BAR", &val_ptr)); in test__expr() 139 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "BAZ", &val_ptr)); in test__expr() 140 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "BOZO", &val_ptr)); in test__expr() 148 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "EVENT1,param=3@", &val_ptr)); in test__expr() 149 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "EVENT2,param=3@", &val_ptr)); in test__expr() 156 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "dash-event1", &val_ptr)); in test__expr() 157 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "dash-event2", &val_ptr)); in test__expr() 170 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, in test__expr() 179 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, in test__expr() 204 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "EVENT1", &val_ptr)); in test__expr() [all …]
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | hashmap.c | 76 if (CHECK(!hashmap__find(map, k, &oldv), "elem_find", in test_hashmap_generic() 123 if (CHECK(!hashmap__find(map, k, &oldv), "elem_find", in test_hashmap_generic() 311 CHECK(!hashmap__find(map, "b", &value), "hashmap__find", "can't find value for 'b'\n"); in test_hashmap_ptr_iface() 429 if (CHECK(hashmap__find(map, k, NULL), "elem_find", in test_hashmap_empty()
|
| /linux/tools/perf/util/ |
| H A D | threads.c | 100 if (hashmap__find(&table->shard, tid, &res)) in threads__find() 122 if (hashmap__find(&table->shard, tid, &res)) in threads__findnew()
|
| H A D | bpf-trace-summary.c | 178 if (!hashmap__find(hash, map_key->cpu_or_tid, &data)) { in update_thread_stats() 242 if (!hashmap__find(hash, map_key->nr, &data)) { in update_total_stats() 314 if (!hashmap__find(hash, map_key->cgroup, &data)) { in update_cgroup_stats()
|
| H A D | fncache.c | 41 if (!hashmap__find(fncache__get(), name, &val)) in lookup_fncache()
|
| H A D | expr.c | 224 return hashmap__find(ctx->ids, id, data) ? 0 : -1; in expr__get_id() 424 if (hashmap__find(ctx->ids, id, /*value=*/NULL)) in expr__has_event()
|
| H A D | hashmap.h | 159 #define hashmap__find(map, key, value) \ macro
|
| H A D | s390-sample-raw.c | 191 if (cache_pmu == pmu && hashmap__find(cache, cache_key, &result)) in get_counter_name()
|
| H A D | annotate.h | 415 if (!hashmap__find(src->samples, key, &entry)) in annotated_source__hist_entry()
|
| H A D | metricgroup.c | 329 if (hashmap__find(ids, metric_id, &val_ptr)) { in setup_metric_events() 1344 if (hashmap__find(m->pctx->ids, metric_id, NULL)) in count_uses()
|
| H A D | stat.c | 357 if (hashmap__find(mask, key, NULL)) { in check_per_pkg()
|
| H A D | hwmon_pmu.c | 270 if (!hashmap__find(&pmu->events, key.type_and_num, &value)) { in hwmon_pmu__read_events()
|
| H A D | bpf_lock_contention.c | 618 if (hashmap__find(&slab_hash, flags & LCB_F_SLAB_ID_MASK, &slab_data)) { in lock_contention_get_name()
|
| H A D | pmu.c | 446 if (hashmap__find(pmu->aliases, name, &alias)) in perf_pmu__find_alias() 470 if (hashmap__find(pmu->aliases, name, &alias)) in perf_pmu__find_alias()
|
| H A D | annotate.c | 244 if (!hashmap__find(src->samples, hash_key, &entry)) { in __symbol__inc_addr_samples() 1976 hashmap__find(apd->type_hash, dl->al.offset, &entry); in disasm_line__snprint_type_info()
|
| /linux/tools/lib/bpf/ |
| H A D | strset.c | 130 if (hashmap__find(set->strs_hash, new_off, &old_off)) in strset__find_str()
|
| H A D | hashmap.h | 159 #define hashmap__find(map, key, value) \ macro
|
| H A D | usdt.c | 920 if (hashmap__find(specs_hash, target->spec_str, &tmp)) { in allocate_spec_id()
|
| H A D | btf_dump.c | 1652 (void)hashmap__find(name_map, orig_name, &dup_cnt); in btf_dump_name_dups()
|
| H A D | btf.c | 1937 hashmap__find(p->str_off_map, *str_off, &mapped_off)) { 5281 if (!hashmap__find(names_map, t->name_off, &cand_id))
|
| H A D | libbpf.c | 6007 !hashmap__find(cand_cache, local_id, &cands)) { in bpf_core_resolve_relo()
|
| /linux/tools/perf/ |
| H A D | builtin-ftrace.c | 1232 if (!hashmap__find(ftrace->profile_hash, func, &prof)) { in add_func_duration()
|
| H A D | builtin-trace.c | 2649 if (!hashmap__find(syscall_stats, id, &stats)) { in thread__update_stats()
|
| /linux/tools/bpf/bpftool/ |
| H A D | gen.c | 2451 !hashmap__find(cand_cache, relo->type_id, &cands)) { in btfgen_record_obj()
|