dso__data_read_addr(9)
π¦ dso__data_read_addr(9) β the Kernel API Manual tea β
okay bestie, welcome to dso__data_read_addr(9) from the Kernel API Manual (section 9, yes, the fancy kernel one) β the little function that reads data from a dso address, and honestly? she's giving "small but mighty." β¨
π NAME π
dso__data_read_addr β read data from a dso address. that's it, that's the whole vibe. π
πΈ SYNOPSIS πΈ
ssize_t dso__data_read_addr (struct dso *dso , struct map *map , struct
machine *machine , u64 addr , u8 *data , ssize_t size );
six arguments, one ssize_t coming back at you. she's not complicated, she's just specific. π
β¨ ARGUMENTS β¨
dsoβ the dso object, our main character πmapβ<italic>-- undescribed --</italic>π«£ (the manpage literally says that, not me, I would never leave you hanging like that... okay maybe I would, but the source didn't describe it so neither will I, fr fr)machineβ the machine object, the whole situation she's living in π₯οΈaddrβ<italic>-- undescribed --</italic>π (again! iconic of the manpage to just not)dataβ the buffer where the data goes to live its best life πsizeβ the size of the data buffer, so nobody overstays their welcome π
π DESCRIPTION π
External interface to read data from dso address. that's the whole description, bestie β short, sweet, and lowkey mysterious. it's the external interface, so this is the doorway everybody else knocks on. πͺβ¨
π§ SEE ALSO π§
Kernel file ./tools/perf/util/dso.c (the source of truth, the mothership πΈ) plus her whole friend group:
dso__data_close(9)dso__data_get_fd(9)dso__data_size(9)dso__data_read_offset(9)dso__data_write_cache_offs(9)dso__data_write_cache_addr(9)
go read those too, they ate π π₯
ngl this page is short but she's part of a whole little dso family β the dso.c file is where all the lore lives. iykyk π¦
sign-off time π this little gem lives in ./tools/perf/util, dated October 2026, and it's filed under the Kernel API Manual β go off, section 9, and remember: read your dso addresses responsibly. 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