Searched refs:hashmap__find (Results 1 – 17 of 17) sorted by relevance
| /linux/tools/perf/tests/ |
| A D | expr.c | 139 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "BAR", &val_ptr)); in test__expr() 140 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "BAZ", &val_ptr)); in test__expr() 141 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "BOZO", &val_ptr)); in test__expr() 157 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "dash-event1", &val_ptr)); in test__expr() 158 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "dash-event2", &val_ptr)); in test__expr() 171 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, in test__expr() 180 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, in test__expr() 205 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "EVENT1", &val_ptr)); in test__expr() 210 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "EVENT1", &val_ptr)); in test__expr() 225 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "EVENT1", &val_ptr)); in test__expr() [all …]
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| 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/ |
| 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()
|
| A D | expr.c | 221 return hashmap__find(ctx->ids, id, data) ? 0 : -1; in expr__get_id() 490 if (hashmap__find(ctx->ids, id, /*value=*/NULL)) in expr__has_event()
|
| A D | hashmap.h | 159 #define hashmap__find(map, key, value) \ macro
|
| A D | annotate.h | 386 if (!hashmap__find(src->samples, key, &entry)) in annotated_source__hist_entry()
|
| A D | stat.c | 357 if (hashmap__find(mask, key, NULL)) { in check_per_pkg()
|
| A D | metricgroup.c | 317 if (hashmap__find(ids, metric_id, &val_ptr)) { in setup_metric_events()
|
| A D | annotate.c | 239 if (!hashmap__find(src->samples, hash_key, &entry)) { in __symbol__inc_addr_samples()
|
| /linux/tools/lib/bpf/ |
| A D | strset.c | 130 if (hashmap__find(set->strs_hash, new_off, &old_off)) in strset__find_str()
|
| A D | hashmap.h | 159 #define hashmap__find(map, key, value) \ macro
|
| A D | usdt.c | 909 if (hashmap__find(specs_hash, target->spec_str, &tmp)) { in allocate_spec_id()
|
| A D | btf_dump.c | 1645 (void)hashmap__find(name_map, orig_name, &dup_cnt); in btf_dump_name_dups()
|
| A D | btf.c | 1804 hashmap__find(p->str_off_map, *str_off, &mapped_off)) { in btf_rewrite_str() 4831 if (!hashmap__find(names_map, t->name_off, &cand_id)) in btf_dedup_resolve_fwd()
|
| A D | libbpf.c | 5833 !hashmap__find(cand_cache, local_id, &cands)) { in bpf_core_resolve_relo()
|
| /linux/tools/perf/ |
| A D | builtin-ftrace.c | 1016 if (!hashmap__find(ftrace->profile_hash, func, &prof)) { in add_func_duration()
|
| /linux/tools/bpf/bpftool/ |
| A D | gen.c | 2391 !hashmap__find(cand_cache, relo->type_id, &cands)) { in btfgen_record_obj()
|
Completed in 69 milliseconds