STRUCT ANNOTATED_DATA_STAT(9)
π 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
- 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