Searched refs:auxtrace_cache (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/tools/perf/util/ |
D | auxtrace.h | 473 struct auxtrace_cache *auxtrace_cache__new(unsigned int bits, size_t entry_size, 475 void auxtrace_cache__free(struct auxtrace_cache *auxtrace_cache); 476 void *auxtrace_cache__alloc_entry(struct auxtrace_cache *c); 477 void auxtrace_cache__free_entry(struct auxtrace_cache *c, void *entry); 478 int auxtrace_cache__add(struct auxtrace_cache *c, u32 key, 480 void *auxtrace_cache__lookup(struct auxtrace_cache *c, u32 key); 672 void auxtrace_cache__free(struct auxtrace_cache *auxtrace_cache __maybe_unused) in auxtrace_cache__free()
|
D | dso.h | 136 struct auxtrace_cache; 177 struct auxtrace_cache *auxtrace_cache; member
|
D | auxtrace.c | 1333 struct auxtrace_cache { struct 1342 struct auxtrace_cache *auxtrace_cache__new(unsigned int bits, size_t entry_size, in auxtrace_cache__new() argument 1345 struct auxtrace_cache *c; in auxtrace_cache__new() 1349 c = zalloc(sizeof(struct auxtrace_cache)); in auxtrace_cache__new() 1375 static void auxtrace_cache__drop(struct auxtrace_cache *c) in auxtrace_cache__drop() 1394 void auxtrace_cache__free(struct auxtrace_cache *c) in auxtrace_cache__free() 1404 void *auxtrace_cache__alloc_entry(struct auxtrace_cache *c) in auxtrace_cache__alloc_entry() 1409 void auxtrace_cache__free_entry(struct auxtrace_cache *c __maybe_unused, in auxtrace_cache__free_entry() 1415 int auxtrace_cache__add(struct auxtrace_cache *c, u32 key, in auxtrace_cache__add() 1427 void *auxtrace_cache__lookup(struct auxtrace_cache *c, u32 key) in auxtrace_cache__lookup()
|
D | intel-pt.c | 350 static struct auxtrace_cache *intel_pt_cache(struct dso *dso, in intel_pt_cache() 353 struct auxtrace_cache *c; in intel_pt_cache() 356 if (dso->auxtrace_cache) in intel_pt_cache() 357 return dso->auxtrace_cache; in intel_pt_cache() 364 dso->auxtrace_cache = c; in intel_pt_cache() 373 struct auxtrace_cache *c = intel_pt_cache(dso, machine); in intel_pt_cache_add() 402 struct auxtrace_cache *c = intel_pt_cache(dso, machine); in intel_pt_cache_lookup() 407 return auxtrace_cache__lookup(dso->auxtrace_cache, offset); in intel_pt_cache_lookup()
|
D | dso.c | 1249 auxtrace_cache__free(dso->auxtrace_cache); in dso__delete()
|