Home
last modified time | relevance | path

Searched refs:auxtrace_cache (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/tools/perf/util/
H A Dauxtrace.h458 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_cache __maybe_unused) in auxtrace_cache__free()
H A Ddso.h145 struct auxtrace_cache;
189 struct auxtrace_cache *auxtrace_cache; member
H A Dauxtrace.c1960 struct auxtrace_cache { struct
1969 struct auxtrace_cache *auxtrace_cache__new(unsigned int bits, size_t entry_size, in auxtrace_cache__new() argument
1972 struct auxtrace_cache *c; in auxtrace_cache__new()
1976 c = zalloc(sizeof(struct auxtrace_cache)); in auxtrace_cache__new()
2002 static void auxtrace_cache__drop(struct auxtrace_cache *c) in auxtrace_cache__drop()
2021 void auxtrace_cache__free(struct auxtrace_cache *c) in auxtrace_cache__free()
2031 void *auxtrace_cache__alloc_entry(struct auxtrace_cache *c) in auxtrace_cache__alloc_entry()
2036 void auxtrace_cache__free_entry(struct auxtrace_cache *c __maybe_unused, in auxtrace_cache__free_entry()
2042 int auxtrace_cache__add(struct auxtrace_cache *c, u32 key, in auxtrace_cache__add()
2054 static struct auxtrace_cache_entry *auxtrace_cache__rm(struct auxtrace_cache *c, in auxtrace_cache__rm()
[all …]
H A Dintel-pt.c595 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, offset); in intel_pt_cache_invalidate()
[all …]
H A Ddso.c1382 auxtrace_cache__free(dso->auxtrace_cache); in dso__delete()