STRUCT DSO_ID(9)
π¦ struct dso_id(9) π¦
okay so this is a page from the Kernel API Manual, bestie β welcome to the struct dso_id glow-up tour π
β¨ NAME β¨
struct dso_id β literally just the struct name, no tagline, no bio. it's giving mysterious main character energy π«Ά (the original page leaves the description blank, so we're not gonna invent one, periodt).
πΈ SYNOPSIS πΈ
struct dso_id {
struct {
u32 maj;
u32 min;
u64 ino;
u64 ino_generation;
};
bool mmap2_valid;
bool mmap2_ino_generation_valid;
struct build_id build_id;
};
yes bestie, that's an anonymous struct chilling inside it β nested but unnamed, iykyk π
π Members π
{unnamed_struct}β anonymous. that's it. that's the description. no name, no notes, iconic πmmap2_validβ are themaj,minandinofields valid? this bool is the vibe check for that trio βmmap2_ino_generation_validβ is theino_generationvalid? heads up, this is generally false for/proc/pid/mapsmmap event πbuild_idβ a possibly populatedbuild_id. and how do you know if it's actually populated?build_id__is_definedchecks whether it is. slay π₯
π§ Description π§
so what is this thing? it's data about backing storage DSO, and it comes from three places, no cap:
PERF_RECORD_MMAP2meta events- reading from
/proc/pid/maps - synthesis of
build_idsfrom DSOs
β οΈ and the tea: it's possibly incomplete at any particular use. so don't come for it, it's doing its best π
π SEE ALSO π
- Kernel file
./tools/perf/util/dso.h enum dso_binary_type(9)
and that's the whole page, bestie π this came to you from ./tools/perf/util, dated October 2026 β take care of her, she's a legend πβ¨
π¦ 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