STRUCT ANNOTATED_MEMBER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

this page is struct annotated_member(9) from the Kernel API Manual, and it’s literally all about the Type of member field πŸ’… bestie, we’re in struct territory now.


πŸ¦‹ SYNOPSIS πŸ¦‹

struct annotated_member {
    struct list_head node;
    struct list_head children;
    char *type_name;
    char *var_name;
    int offset;
    int size;
 };

that’s the whole struct, no cap πŸ‘‘ every field exactly where it belongs.


🌸 Members 🌸

okay so here’s the member-by-member vibe check, and yes we’re keeping every single one 🫢

  • node β€” list entry in the parent list 🧡
  • children β€” list head for child nodes 🎠
  • type_name β€” name of the member type 🏷️
  • var_name β€” name of the member variable ✨
  • offset β€” offset from the outer data type πŸ“
  • size β€” size of the member field 🧸

πŸ’– Description πŸ’–

highkey, this struct is here to represent a member type in a data type. that’s the whole job. iconic behavior, honestly 🌈


πŸ” SEE ALSO πŸ”

go peek at the Kernel file ./tools/perf/util/annotate-data.h and these related structs too, iykyk 🫢

  • struct type_hist_entry(9)
  • struct type_hist(9)
  • struct annotated_data_type(9)
  • struct data_loc_info(9)
  • struct annotated_data_stat(9)

mwah πŸ’‹ β€” sourced from ./tools/perf/util, dated October 2026, and yes, it’s still struct annotated_member(9). periodt πŸŽ€

πŸ“¦ where this page comes from