dso__data_write_cache_offs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

dso__data_write_cache_offs(9) πŸ’…

okay so welcome to the Kernel API Manual corner of the group chat β€” today’s main character is dso__data_write_cache_offs, and she is lowkey here to write data into the dso data cache. No cap. ✨


NAME 🌸

dso__data_write_cache_offs β€” write data to dso data cache at file offset.


SYNOPSIS πŸŽ€

ssize_t dso__data_write_cache_offs (struct dso *dso , struct machine
*machine , u64 offset , const u8 *data_in , ssize_t size );

ARGUMENTS 🫢

  • dso β€” the dso object, bestie.
  • machine β€” the machine object.
  • offset β€” file offset, iykyk.
  • data_in β€” the manual literally says -- undescribed -- here, so that’s the whole tea πŸ«–.
  • size β€” size of the data buffer.

DESCRIPTION 🌸

So the vibe is: this writes into the dso file data cache. But it does not change the file itself β€” not touching the actual file, periodt. πŸ’…

bestie, key detail: cache gets the write, file stays unchanged. πŸ¦‹

SEE ALSO πŸ”₯

Kernel file ./tools/perf/util/dso.c plus these besties:


mwah πŸ’‹ β€” source/version vibes: this page lives in ./tools/perf/util, dated October 2026, and it’s serving dso__data_write_cache_offs(9) realness. πŸŽ€

πŸ“¦ where this page comes from