Home
last modified time | relevance | path

Searched refs:type_hash (Results 1 – 3 of 3) sorted by relevance

/linux/tools/perf/ui/browsers/
H A Dannotate.c41 struct hashmap *type_hash; member
49 static size_t type_hash(long key, void *ctx __maybe_unused) in type_hash() function
146 if (!IS_ERR_OR_NULL(ab->type_hash)) in annotate_browser__write()
147 apd.type_hash = ab->type_hash; in annotate_browser__write()
1119 if (browser->type_hash == NULL) { in annotate_browser__run()
1120 browser->type_hash = hashmap__new(type_hash, type_equal, in annotate_browser__run()
1222 browser.type_hash = hashmap__new(type_hash, type_equal, /*ctx=*/NULL); in __hist_entry__tui_annotate()
1251 if (!IS_ERR_OR_NULL(browser.type_hash)) { in __hist_entry__tui_annotate()
1255 hashmap__for_each_entry(browser.type_hash, cur, bkt) in __hist_entry__tui_annotate()
1257 hashmap__free(browser.type_hash); in __hist_entry__tui_annotate()
/linux/tools/perf/util/
H A Dannotate.h208 struct hashmap *type_hash; member
H A Dannotate.c1976 if (apd->type_hash) { in disasm_line__snprint_type_info()
1977 hashmap__find(apd->type_hash, dl->al.offset, &entry); in disasm_line__snprint_type_info()
1987 if (apd->type_hash && entry == NULL) { in disasm_line__snprint_type_info()
1992 hashmap__add(apd->type_hash, dl->al.offset, entry); in disasm_line__snprint_type_info()