dso__data_read_addr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ 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:

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