Home
last modified time | relevance | path

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

/tools/perf/util/
Dauxtrace.h439 struct auxtrace_cache;
542 struct auxtrace_cache *auxtrace_cache__new(unsigned int bits, size_t entry_size,
544 void auxtrace_cache__free(struct auxtrace_cache *auxtrace_cache);
545 void *auxtrace_cache__alloc_entry(struct auxtrace_cache *c);
546 void auxtrace_cache__free_entry(struct auxtrace_cache *c, void *entry);
547 int auxtrace_cache__add(struct auxtrace_cache *c, u32 key,
549 void auxtrace_cache__remove(struct auxtrace_cache *c, u32 key);
550 void *auxtrace_cache__lookup(struct auxtrace_cache *c, u32 key);
803 void auxtrace_cache__free(struct auxtrace_cache *auxtrace_cache __maybe_unused) in auxtrace_cache__free()
Ddso.h145 struct auxtrace_cache;
187 struct auxtrace_cache *auxtrace_cache; member
Dauxtrace.c1887 struct auxtrace_cache { struct
1896 struct auxtrace_cache *auxtrace_cache__new(unsigned int bits, size_t entry_size, in auxtrace_cache__new() argument
1899 struct auxtrace_cache *c; in auxtrace_cache__new()
1903 c = zalloc(sizeof(struct auxtrace_cache)); in auxtrace_cache__new()
1929 static void auxtrace_cache__drop(struct auxtrace_cache *c) in auxtrace_cache__drop()
1948 void auxtrace_cache__free(struct auxtrace_cache *c) in auxtrace_cache__free()
1958 void *auxtrace_cache__alloc_entry(struct auxtrace_cache *c) in auxtrace_cache__alloc_entry()
1963 void auxtrace_cache__free_entry(struct auxtrace_cache *c __maybe_unused, in auxtrace_cache__free_entry()
1969 int auxtrace_cache__add(struct auxtrace_cache *c, u32 key, in auxtrace_cache__add()
1981 static struct auxtrace_cache_entry *auxtrace_cache__rm(struct auxtrace_cache *c, in auxtrace_cache__rm()
[all …]
Dintel-pt.c558 static struct auxtrace_cache *intel_pt_cache(struct dso *dso, in intel_pt_cache()
561 struct auxtrace_cache *c; in intel_pt_cache()
564 if (dso->auxtrace_cache) in intel_pt_cache()
565 return dso->auxtrace_cache; in intel_pt_cache()
572 dso->auxtrace_cache = c; in intel_pt_cache()
581 struct auxtrace_cache *c = intel_pt_cache(dso, machine); in intel_pt_cache_add()
611 struct auxtrace_cache *c = intel_pt_cache(dso, machine); in intel_pt_cache_lookup()
616 return auxtrace_cache__lookup(dso->auxtrace_cache, offset); in intel_pt_cache_lookup()
622 struct auxtrace_cache *c = intel_pt_cache(dso, machine); in intel_pt_cache_invalidate()
627 auxtrace_cache__remove(dso->auxtrace_cache, offset); in intel_pt_cache_invalidate()
[all …]
Ddso.c1322 auxtrace_cache__free(dso->auxtrace_cache); in dso__delete()