STRUCT ANNOTATED_DATA_STAT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct annotated_data_stat(9)

okay so bestie, welcome to the Kernel API Manual β€” this one's about struct annotated_data_stat, which is literally just a big ol' pile of Debug statistics. That's the whole vibe. It counts stuff. It tells you why the annotate-data machinery gave up on a thing. Iconic, honestly. πŸŽ€


✨ SYNOPSIS ✨

struct annotated_data_stat {
    int total;
    int no_sym;
    int no_insn;
    int no_insn_ops;
    int no_mem_ops;
    int no_reg;
    int no_dbginfo;
    int no_cuinfo;
    int no_var;
    int no_typeinfo;
    int invalid_size;
    int bad_offset;
    int insn_track;
 };

no cap, that's the whole struct. every field is an int. we love a consistent queen. πŸ‘‘


🌸 Members 🌸

okay so here's the rundown of every single counter, and what sad little situation it's keeping track of:

  • total β€” the Total number of entry. the big one. the main character. everything else is a subset of this. πŸ’…
  • no_sym β€” No symbol or map found. couldn't find it, moving on. 😭
  • no_insn β€” Failed to get disasm line. the disassembly said "nope". πŸ’€
  • no_insn_ops β€” The instruction has no operands. like, at all. empty. nada.
  • no_mem_ops β€” The instruction has no memory operands. close, but no memory access to look at.
  • no_reg β€” Failed to extract a register from the operand. the register was simply not giving. πŸ™ˆ
  • no_dbginfo β€” The binary has no debug information. stripped binary behaviour fr fr.
  • no_cuinfo β€” Failed to find a compile_unit. the cu info said "never heard of her". πŸ¦‹
  • no_var β€” Failed to find a matching variable. no var, no match, no joy.
  • no_typeinfo β€” Failed to get a type info for the variable. we know of her but not what she is.
  • invalid_size β€” Failed to get a size info of the type. the size info is not size-ing.
  • bad_offset β€” The access offset is out of the type. out of bounds, out of pocket, out of line. 🚩
  • insn_track β€” it's right there in the struct, bestie! the Members section doesn't spell out a description for this one, so I'm not gonna make one up. she's declared, she's present, she's part of the squad. ✨
⚠️ quick vibe check: these are Debug statistics β€” counters about how analysis went, not data you act on. don't go reading meaning into them that isn't there, k? 🫢

πŸ‘€ SEE ALSO πŸ‘€

  • Kernel file ./tools/perf/util/annotate-data.h β€” the struct's actual home, go say hi 🏠
  • struct annotated_member(9)
  • struct type_hist_entry(9)
  • struct type_hist(9)
  • struct annotated_data_type(9)
  • struct data_loc_info(9)

like, the whole annotate-data friend group, basically. iykyk. 🌈


⭐ and that's the page!! brought to you from ./tools/perf/util, dated October 2026 β€” catch you in the next struct annotated_data_stat(9) sighting, bestie, mwah πŸ’–πŸŽ€πŸ§š

πŸ“¦ where this page comes from