dso__data_read_offset(9)
β¨ 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 π
dso__data_close(9)dso__data_get_fd(9)dso__data_size(9)dso__data_read_addr(9)dso__data_write_cache_offs(9)dso__data_write_cache_addr(9)
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
- 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