dso__data_read_offset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ dso__data_read_offset πŸ’…

Okay bestie, welcome to the dso__data_read_offset page of the Kernel API Manual (that's the <italic>9</italic> section, iykyk) β€” this is literally the function that reads data from a dso file offset, and we're gonna get you across the finish line 🫢


✨ NAME ✨

dso__data_read_offset β€” read data from dso file offset 🌸


✨ SYNOPSIS ✨

ssize_t dso__data_read_offset (struct dso *dso , struct machine *machine
, u64 offset , u8 *data , ssize_t size );

That's the whole vibe check β€” five args, one ssize_t return, no cap πŸ’…


✨ ARGUMENTS ✨

  • dso β€” the dso object πŸ‘‘
  • machine β€” the machine object πŸ¦‹
  • offset β€” file offset ⭐
  • data β€” buffer to store data πŸŽ€
  • size β€” size of the data buffer πŸ’–

✨ DESCRIPTION ✨

So like, this is the external interface to read data from a dso file offset, periodt. It opens the dso data file and then uses cached_read to actually get the data out πŸ”₯

That's it, that's the whole lore β€” no hidden plot twists, no extra behaviour to warn you about πŸ™ˆ


✨ SEE ALSO ✨

Kernel file ./tools/perf/util/dso.c β€” go read it, it's giving main character energy πŸ“–


Fr fr, that's every single one of the siblings β€” say hi to the whole dso fam for me πŸ’€πŸ’–

And that's a wrap, bestie πŸŽ€ this little icon lives in ./tools/perf/util, dated October 2026, and it's officially titled dso__data_read_offset(9) β€” slay, bye! πŸ’…βœ¨πŸŒˆ

πŸ“¦ where this page comes from