xe_devcoredump_read(9)
π xe_devcoredump_read(9) π
πΈ NAME πΈ
okay so this page is from the Kernel API Manual, and the main character is xe_devcoredump_read(9) β she reads data from the Xe device coredump snapshot. thatβs the whole name vibe, no cap. π
β¨ SYNOPSIS β¨
hereβs the signature, bestie β copy it exactly, character for character:
ssize_t xe_devcoredump_read (char *buffer , loff_t offset , size_t count
, void *data , size_t datalen );
π¦ ARGUMENTS π¦
bufferβ the destination buffer where the coredump data gets copied into. drop it in here.offsetβ where in the coredump data the reading starts. like a little bookmark πcountβ how many bytes to read. byte budget.dataβ pointer to thexe_devcoredumpstructure. thatβs whatdatapoints at.datalenβ length of the data. and yes, sheβs unused β the page literally says so, donβt come for me π.
π DESCRIPTION π
Reads a chunk of the coredump snapshot data into the provided buffer. thatβs the core move, and it ate. β¨
if the devcoredump is smaller than 1.5 GB (XE_DEVCOREDUMP_CHUNK_MAX), it is read directly from a pre-written buffer. direct read, cute and simple π
for larger devcoredumps, the pre-written buffer must be periodically repopulated from the snapshot state due to kmalloc size limitations. thatβs the big-coredump plot twist β no skipping that part, bestie. π
π₯ RETURN π₯
Number of bytes copied on success, or a negative error code on failure. failure is giving negative error code, success is giving byte count. periodt. π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/xe/xe_devcoredump.c Xe device coredump(9)xe_devcoredump(9)xe_print_blob_ascii85(9)
mwah π footer moment: source/version is ./drivers/gpu/drm/xe, date is October 2026, and the footer title is xe_devcoredump_read(9). bye bestie, go read that coredump π«Άβ¨
π¦ 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