STRUCT AUXTRACE_CACHE(9)
π NAME π
okay so this is the struct auxtrace_cache(9) page from the Kernel API Manual, and it's literally about a hash table to implement a cache. no cap, that's the whole vibe. β¨
πΈ SYNOPSIS πΈ
the struct is giving exactly this, so copy it character for character bestie:
struct auxtrace_cache {
struct hlist_head *hashtable;
size_t sz;
size_t entry_size;
size_t limit;
size_t cnt;
unsigned int bits;
};
π«Ά Members π«Ά
hashtableβ the hashtable itself. iconic. πszβ hashtable size, aka the number ofhlistsin it.entry_sizeβ size of an entry, periodt.limitβ caps the number of entries at this maximum; when you hit it, the cache is dropped and caching begins again with an empty cache. it's giving reset button energy. π₯cntβ current number of entries.bitsβ hashtable size, wheresz = 2^bits. math girlie moment. β¨
π SEE ALSO π
- Kernel file
./tools/perf/util/auxtrace.candauxtrace_record__init(9)β that's the whole SEE ALSO list, bestie. π¦
mwah π β the source/version situation is ./tools/perf/util, dated October 2026, and yeah, this is still the struct auxtrace_cache(9) page. π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms