debug_object_deactivate(9)
π debug_object_deactivate(9) β like, the Kernel API Manual page, bestie
Okay so bestie, welcome to the Kernel API Manual entry for debug_object_deactivate, and ngl this one is short but it matters. It's the lil function that runs the debug checks the moment an object gets deactivated. That's the whole vibe. π
β¨ NAME β¨
debug_object_deactivate β bestie, it does debug checks when an object is deactivated. That's it. That's the job. Iconic minimalism. π
π¦ SYNOPSIS π¦
void debug_object_deactivate (void *addr , const struct debug_obj_descr *descr );
Note the spacing in that signature β yeah, we're keeping it exactly as written, no cap. β¨
πΈ ARGUMENTS πΈ
addrβ the address of the object, like, the actual thing you're deactivating. Point it at your object and off you go π«Άdescrβ pointer to an object specific debug description structure. It's the struct that tells the debug machinery all about your object's particular deal. iykyk π
π SEE ALSO π
Kernel file ./lib/debugobjects.c, plus the whole squad of related functions β go read these too, they're literally the rest of the friend group:
debug_object_init(9)debug_object_init_on_stack(9)debug_object_activate(9)debug_object_destroy(9)debug_object_free(9)debug_object_assert_init(9)debug_object_active_state(9)
Ok so that's the whole page, short and sweet like a good text back π go deactivate some objects (with debug checks, obviously).
Sign-off time, bestie π§: this lil beauty lives in ./lib, stamped October 2026, and it's filed under debug_object_deactivate(9) β the Kernel API Manual section. Slay. βπ
π¦ 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