kmemleak_update_trace(9)
kmemleak_update_trace(9) π
okay so bestie, this is a page from the Kernel API Manual, and it is lowkey iconic. We're talking about kmemleak_update_trace, and it's giving tiny-but-mighty main character energy. β¨
πΈ NAME πΈ
kmemleak_update_trace β update object allocation stack trace π
β¨ SYNOPSIS β¨
void __ref kmemleak_update_trace (const void *ptr );
That signature is literally the whole vibe check β copy it exactly, iykyk. π
π ARGUMENTS π
ptrβ pointer to beginning of the object. That's it, that's the argument. π«Ά
π DESCRIPTION π
Okay so here's the tea: kmemleak_update_trace() is your override bestie for the object allocation stack trace. You use it for cases where the actual allocation place is not always useful. No cap, fr fr. π¦
The way that it just swoops in and overrides the object allocation stack trace when the actual allocation place is not always useful? Obsessed. β¨
π¦ SEE ALSO π¦
Kernel file ./mm/kmemleak.c is right here, and these little icons are all in the same orbit:
kmemleak_alloc(9)kmemleak_alloc_percpu(9)kmemleak_vmalloc(9)kmemleak_free(9)kmemleak_free_part(9)kmemleak_free_percpu(9)kmemleak_not_leak(9)kmemleak_transient_leak(9)kmemleak_ignore_percpu(9)kmemleak_ignore(9)kmemleak_scan_area(9)kmemleak_no_scan(9)kmemleak_alloc_phys(9)kmemleak_free_part_phys(9)kmemleak_ignore_phys(9)
mwah π this page comes from ./mm, dated October 2026, and it's literally called kmemleak_update_trace(9) β periodt. π
π¦ 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