Home
last modified time | relevance | path

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

/Linux-v5.4/tools/perf/util/
Dauxtrace.h383 struct auxtrace_cache;
485 struct auxtrace_cache *auxtrace_cache__new(unsigned int bits, size_t entry_size,
487 void auxtrace_cache__free(struct auxtrace_cache *auxtrace_cache);
488 void *auxtrace_cache__alloc_entry(struct auxtrace_cache *c);
489 void auxtrace_cache__free_entry(struct auxtrace_cache *c, void *entry);
490 int auxtrace_cache__add(struct auxtrace_cache *c, u32 key,
492 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()
Ddso.h132 struct auxtrace_cache;
173 struct auxtrace_cache *auxtrace_cache; member
Dauxtrace.c1366 struct auxtrace_cache { struct
1375 struct auxtrace_cache *auxtrace_cache__new(unsigned int bits, size_t entry_size, in auxtrace_cache__new() argument
1378 struct auxtrace_cache *c; in auxtrace_cache__new()
1382 c = zalloc(sizeof(struct auxtrace_cache)); in auxtrace_cache__new()
1408 static void auxtrace_cache__drop(struct auxtrace_cache *c) in auxtrace_cache__drop()
1427 void auxtrace_cache__free(struct auxtrace_cache *c) in auxtrace_cache__free()
1437 void *auxtrace_cache__alloc_entry(struct auxtrace_cache *c) in auxtrace_cache__alloc_entry()
1442 void auxtrace_cache__free_entry(struct auxtrace_cache *c __maybe_unused, in auxtrace_cache__free_entry()
1448 int auxtrace_cache__add(struct auxtrace_cache *c, u32 key, in auxtrace_cache__add()
1460 void *auxtrace_cache__lookup(struct auxtrace_cache *c, u32 key) in auxtrace_cache__lookup()
Dintel-pt.c447 static struct auxtrace_cache *intel_pt_cache(struct dso *dso, in intel_pt_cache()
450 struct auxtrace_cache *c; in intel_pt_cache()
453 if (dso->auxtrace_cache) in intel_pt_cache()
454 return dso->auxtrace_cache; in intel_pt_cache()
461 dso->auxtrace_cache = c; in intel_pt_cache()
470 struct auxtrace_cache *c = intel_pt_cache(dso, machine); in intel_pt_cache_add()
499 struct auxtrace_cache *c = intel_pt_cache(dso, machine); in intel_pt_cache_lookup()
504 return auxtrace_cache__lookup(dso->auxtrace_cache, offset); in intel_pt_cache_lookup()
Ddso.c1224 auxtrace_cache__free(dso->auxtrace_cache); in dso__delete()