Searched refs:auxtrace_cache (Results 1 - 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | auxtrace.h | 429 struct auxtrace_cache; 541 struct auxtrace_cache *auxtrace_cache__new(unsigned int bits, size_t entry_size, 543 void auxtrace_cache__free(struct auxtrace_cache *auxtrace_cache); 544 void *auxtrace_cache__alloc_entry(struct auxtrace_cache *c); 545 void auxtrace_cache__free_entry(struct auxtrace_cache *c, void *entry); 546 int auxtrace_cache__add(struct auxtrace_cache *c, u32 key, 548 void auxtrace_cache__remove(struct auxtrace_cache *c, u32 key); 549 void *auxtrace_cache__lookup(struct auxtrace_cache *c, u32 key); 769 void auxtrace_cache__free(struct auxtrace_cache *auxtrace_cach [all...] |
H A D | dso.h | 145 struct auxtrace_cache; 186 struct auxtrace_cache *auxtrace_cache; member
|
H A D | auxtrace.c | 1779 * struct auxtrace_cache - hash table to implement a cache 1788 struct auxtrace_cache { struct 1797 struct auxtrace_cache *auxtrace_cache__new(unsigned int bits, size_t entry_size, in auxtrace_cache__new() 1800 struct auxtrace_cache *c; in auxtrace_cache__new() 1804 c = zalloc(sizeof(struct auxtrace_cache)); in auxtrace_cache__new() 1830 static void auxtrace_cache__drop(struct auxtrace_cache *c) in auxtrace_cache__drop() 1849 void auxtrace_cache__free(struct auxtrace_cache *c) in auxtrace_cache__free() 1859 void *auxtrace_cache__alloc_entry(struct auxtrace_cache *c) in auxtrace_cache__alloc_entry() 1864 void auxtrace_cache__free_entry(struct auxtrace_cache *c __maybe_unused, in auxtrace_cache__free_entry() 1870 int auxtrace_cache__add(struct auxtrace_cache * [all...] |
H A D | intel-pt.c | 481 static struct auxtrace_cache *intel_pt_cache(struct dso *dso, in intel_pt_cache() 484 struct auxtrace_cache *c; in intel_pt_cache() 487 if (dso->auxtrace_cache) in intel_pt_cache() 488 return dso->auxtrace_cache; in intel_pt_cache() 495 dso->auxtrace_cache = c; in intel_pt_cache() 504 struct auxtrace_cache *c = intel_pt_cache(dso, machine); in intel_pt_cache_add() 533 struct auxtrace_cache *c = intel_pt_cache(dso, machine); in intel_pt_cache_lookup() 538 return auxtrace_cache__lookup(dso->auxtrace_cache, offset); in intel_pt_cache_lookup() 544 struct auxtrace_cache *c = intel_pt_cache(dso, machine); in intel_pt_cache_invalidate() 549 auxtrace_cache__remove(dso->auxtrace_cache, offse in intel_pt_cache_invalidate() [all...] |
H A D | dso.c | 1309 auxtrace_cache__free(dso->auxtrace_cache); in dso__delete()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | auxtrace.h | 458 struct auxtrace_cache; 561 struct auxtrace_cache *auxtrace_cache__new(unsigned int bits, size_t entry_size, 563 void auxtrace_cache__free(struct auxtrace_cache *auxtrace_cache); 564 void *auxtrace_cache__alloc_entry(struct auxtrace_cache *c); 565 void auxtrace_cache__free_entry(struct auxtrace_cache *c, void *entry); 566 int auxtrace_cache__add(struct auxtrace_cache *c, u32 key, 568 void auxtrace_cache__remove(struct auxtrace_cache *c, u32 key); 569 void *auxtrace_cache__lookup(struct auxtrace_cache *c, u32 key); 832 void auxtrace_cache__free(struct auxtrace_cache *auxtrace_cach [all...] |
H A D | dso.h | 145 struct auxtrace_cache; 189 struct auxtrace_cache *auxtrace_cache; member
|
H A D | auxtrace.c | 1949 * struct auxtrace_cache - hash table to implement a cache 1958 struct auxtrace_cache { struct 1967 struct auxtrace_cache *auxtrace_cache__new(unsigned int bits, size_t entry_size, in auxtrace_cache__new() 1970 struct auxtrace_cache *c; in auxtrace_cache__new() 1974 c = zalloc(sizeof(struct auxtrace_cache)); in auxtrace_cache__new() 2000 static void auxtrace_cache__drop(struct auxtrace_cache *c) in auxtrace_cache__drop() 2019 void auxtrace_cache__free(struct auxtrace_cache *c) in auxtrace_cache__free() 2029 void *auxtrace_cache__alloc_entry(struct auxtrace_cache *c) in auxtrace_cache__alloc_entry() 2034 void auxtrace_cache__free_entry(struct auxtrace_cache *c __maybe_unused, in auxtrace_cache__free_entry() 2040 int auxtrace_cache__add(struct auxtrace_cache * [all...] |
H A D | intel-pt.c | 595 static struct auxtrace_cache *intel_pt_cache(struct dso *dso, in intel_pt_cache() 598 struct auxtrace_cache *c; in intel_pt_cache() 601 if (dso->auxtrace_cache) in intel_pt_cache() 602 return dso->auxtrace_cache; in intel_pt_cache() 609 dso->auxtrace_cache = c; in intel_pt_cache() 618 struct auxtrace_cache *c = intel_pt_cache(dso, machine); in intel_pt_cache_add() 648 struct auxtrace_cache *c = intel_pt_cache(dso, machine); in intel_pt_cache_lookup() 653 return auxtrace_cache__lookup(dso->auxtrace_cache, offset); in intel_pt_cache_lookup() 659 struct auxtrace_cache *c = intel_pt_cache(dso, machine); in intel_pt_cache_invalidate() 664 auxtrace_cache__remove(dso->auxtrace_cache, offse in intel_pt_cache_invalidate() [all...] |
H A D | dso.c | 1382 auxtrace_cache__free(dso->auxtrace_cache); in dso__delete()
|
Completed in 21 milliseconds