STRUCT DEBUG_OBJ(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, this is the struct debug_obj(9) manual page from the Kernel API Manual πŸ’– and it's literally the representation of a tracked object. no cap. 🫢

🌸 SYNOPSIS 🌸

       struct debug_obj {
           struct hlist_node               node;
           enum debug_obj_state            state;
           unsigned int                    astate;
           union {
             void *object;
             struct hlist_node       *batch_last;
           };
           const struct debug_obj_descr *descr;
        };

πŸ¦‹ Members πŸ¦‹

okay so here's the cast of this struct, each one doing its little iconic job:

  • node β€” the hlist node that links the object into the tracker list. it's giving linked-list glue πŸ”—
  • state β€” the tracked object state. vibe check for where it's at ✨
  • astate β€” the current active state. literally the active-state moment πŸ’…
  • {unnamed_union} β€” anonymous. no name, just anonymous union energy πŸ™ˆ
  • object β€” pointer to the real object. the main character, fr fr πŸ‘‘
  • batch_last β€” pointer to the last hlist node in a batch. last-but-not-least behavior πŸŽ€
  • descr β€” pointer to an object type specific debug description structure. the description bestie 🫢

πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./include/linux/debugobjects.h
  • struct debug_obj_descr(9)

mwah πŸ’‹ β€” this icon was served by ./include/linux, October 2026, and the struct debug_obj(9) manual page. periodt. 🌈

πŸ“¦ where this page comes from