STRUCT DATA_LOC_INFO(9)
π« struct data_loc_info(9) π«
okay bestie, welcome to the Kernel API Manual entry for struct data_loc_info(9) β the struct that is literally all about data location information. no cap, itβs a whole little bundle of fields and we are gonna go through every single one. π«Ά
π NAME π
struct data_loc_info β Data location information. itβs giving βdata-location information, but make it a struct,β and honestly? iconic. β¨
π¦ SYNOPSIS π¦
hereβs the exact struct, bestie β every type and field name matching the source, no edits, no guesses:
struct data_loc_info {
const struct arch *arch;
struct thread *thread;
struct map_symbol *ms;
u64 ip;
u64 var_addr;
u8 cpumode;
struct annotated_op_loc *op;
struct debuginfo *di;
int fbreg;
bool fb_cfa;
int type_offset;
};
lowkey important: that closing }; is part of the struct, not me being dramatic. π
π Members π
okay so the member roster is right here, and every single one is carrying its own info. periodt. πΈ
archβ the CPU architecture info lives here. ποΈthreadβ thread info, obviously. π§΅msβ map and symbol info, together. πΊοΈipβ instruction address. yes bestie, thatip. βvar_addrβ data address, specifically for global variables. πcpumodeβ CPU execution mode. π₯opβ instruction operand location, covering regs and offset. πdiβ debug info. πfbregβ frame base register. π¦fb_cfaβ tells you whether the frame needs to check CFA. πtype_offsetβ the final offset in the type. π
π SEE ALSO π
the SEE ALSO squad is right here, bestie:
- Kernel file
./tools/perf/util/annotate-data.hstructannotated_member(9) struct type_hist_entry(9)struct type_hist(9)struct annotated_data_type(9)struct annotated_data_stat(9)
mwah π cute little sign-off: source/version is ./tools/perf/util, date is October 2026, and the page is struct data_loc_info(9). thatβs the whole footer, bestie β now go be iconic with your data locations. πβ¨
π¦ 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