tracing_map_...sort_entries(9)
๐ tracing_map_...sort_entries(9) โ from the Kernel API Manual, bestie ๐
Okay so this is one of those kernel API pages, from the Kernel API Manual โ and like, don't let the truncated name scare you, the whole vibe is gonna make sense in a sec โจ
๐ธ NAME ๐ธ
tracing_map_destroy_sort_entries โ literally just destroys an array of sort entries. That's it. That's the whole job. Cleanup queen behavior ๐
โจ SYNOPSIS โจ
void tracing_map_destroy_sort_entries (struct tracing_map_sort_entry
**entries , unsigned int n_entries );
So it returns void (no lil gift back, sorry ๐), takes a pointer-to-pointer of struct tracing_map_sort_entry called entries, and an unsigned int called n_entries. That's the whole signature, no cap.
๐ ARGUMENTS ๐
entriesโ the entries you wanna destroy. Yeet them into the void ๐ซถn_entriesโ how many entries are in that array. Gotta tell it the count, it's not psychic ๐ฎ
๐ฆ DESCRIPTION ๐ฆ
So basically: when a tracing_map_sort_entries call hands you back a bunch of elements, this is the function you call to destroy them. It's the cleanup step, the "okay bestie we're done here" moment, the after-party sweep ๐งนโจ
Like โ whatever tracing_map_sort_entries gave you, you pass it here and it gets destroyed. Simple. Iconic. Freeing that memory like it's a toxic group chat ๐
๐ฅ SEE ALSO ๐ฅ
Kernel file ./kernel/trace/tracing_map.c โ and honestly the whole tracing_map clique showed up to the function, so let's give them their moment:
tracing_map_update_sum(9)tracing_map_read_sum(9)tracing_map_set_var(9)tracing_map_var_set(9)tracing_map_read_var(9)tracing_map_read_var_once(9)tracing_map_add_sum_field(9)tracing_map_add_var(9)tracing_map_add_key_field(9)tracing_map_insert(9)tracing_map_lookup(9)tracing_map_destroy(9)tracing_map_clear(9)tracing_map_create(9)tracing_map_init(9)tracing_map_sort_entries(9)
Quick vibe check: this page lives in./kernel/trace, it's dated October 2026, and the man page name istracing_map_...sort_entries(9)in case you were wondering why the header looked chopped ๐ญ
Okay that's the whole thing, mwah ๐ go destroy some entries responsibly, ily, bye! ๐๐
๐ฆ 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