tracing_map_destroy(9)
π tracing_map_destroy(9) β from the Kernel API Manual, bestie
okay so picture this: it's tracing_map_destroy(9), it lives in the Kernel API Manual, and it is literally the cleanup queen of ./kernel/trace. main character energy, but make it deallocation. π
β¨ NAME β¨
tracing_map_destroy β Destroy a tracing_map πΈ
β¨ SYNOPSIS β¨
void tracing_map_destroy (struct tracing_map *map );
β¨ ARGUMENTS β¨
mapβ thetracing_mapyou're about to destroy π«Ά that's the one, bestie, that's the victim
β¨ DESCRIPTION β¨
So what it does is, like, it frees a tracing_map along with its associated array of tracing_map_elts. both of them. gone. released. slayed. β¨
β οΈ okay but fr fr listen to me for a sec β callers should make sure there are no readers or writers actively reading or inserting into the map before calling this. no cap. do the vibe check before you call tracing_map_destroy, not after. you literally cannot un-destroy. π
that's the whole thing. simple, iconic, devastating. π
π SEE ALSO π
Kernel file ./kernel/trace/tracing_map.c β that's the home base, iykyk π¦
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_clear(9)tracing_map_create(9)tracing_map_init(9)tracing_map_destroy_sort_entries(9)tracing_map_sort_entries(9)
the whole friend group, honestly π₯
and that's the page, bestie π it ships from ./kernel/trace, dated October 2026, and it answers to the name tracing_map_destroy(9). mwah. πβ¨
π¦ 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