Searched refs:auxtrace_cache (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/tools/perf/util/ |
D | auxtrace.h | 454 struct auxtrace_cache; 557 struct auxtrace_cache *auxtrace_cache__new(unsigned int bits, size_t entry_size, 559 void auxtrace_cache__free(struct auxtrace_cache *auxtrace_cache); 560 void *auxtrace_cache__alloc_entry(struct auxtrace_cache *c); 561 void auxtrace_cache__free_entry(struct auxtrace_cache *c, void *entry); 562 int auxtrace_cache__add(struct auxtrace_cache *c, u32 key, 564 void auxtrace_cache__remove(struct auxtrace_cache *c, u32 key); 565 void *auxtrace_cache__lookup(struct auxtrace_cache *c, u32 key); 827 void auxtrace_cache__free(struct auxtrace_cache *auxtrace_cache __maybe_unused) in auxtrace_cache__free()
|
D | dso.h | 145 struct auxtrace_cache; 188 struct auxtrace_cache *auxtrace_cache; member
|
D | auxtrace.c | 1949 struct auxtrace_cache { struct 1958 struct auxtrace_cache *auxtrace_cache__new(unsigned int bits, size_t entry_size, in auxtrace_cache__new() argument 1961 struct auxtrace_cache *c; in auxtrace_cache__new() 1965 c = zalloc(sizeof(struct auxtrace_cache)); in auxtrace_cache__new() 1991 static void auxtrace_cache__drop(struct auxtrace_cache *c) in auxtrace_cache__drop() 2010 void auxtrace_cache__free(struct auxtrace_cache *c) in auxtrace_cache__free() 2020 void *auxtrace_cache__alloc_entry(struct auxtrace_cache *c) in auxtrace_cache__alloc_entry() 2025 void auxtrace_cache__free_entry(struct auxtrace_cache *c __maybe_unused, in auxtrace_cache__free_entry() 2031 int auxtrace_cache__add(struct auxtrace_cache *c, u32 key, in auxtrace_cache__add() 2043 static struct auxtrace_cache_entry *auxtrace_cache__rm(struct auxtrace_cache *c, in auxtrace_cache__rm() [all …]
|
D | intel-pt.c | 588 static struct auxtrace_cache *intel_pt_cache(struct dso *dso, in intel_pt_cache() 591 struct auxtrace_cache *c; in intel_pt_cache() 594 if (dso->auxtrace_cache) in intel_pt_cache() 595 return dso->auxtrace_cache; in intel_pt_cache() 602 dso->auxtrace_cache = c; in intel_pt_cache() 611 struct auxtrace_cache *c = intel_pt_cache(dso, machine); in intel_pt_cache_add() 641 struct auxtrace_cache *c = intel_pt_cache(dso, machine); in intel_pt_cache_lookup() 646 return auxtrace_cache__lookup(dso->auxtrace_cache, offset); in intel_pt_cache_lookup() 652 struct auxtrace_cache *c = intel_pt_cache(dso, machine); in intel_pt_cache_invalidate() 657 auxtrace_cache__remove(dso->auxtrace_cache, offset); in intel_pt_cache_invalidate() [all …]
|
D | dso.c | 1339 auxtrace_cache__free(dso->auxtrace_cache); in dso__delete()
|