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