xe_guc_exec_...shot_capture(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xe_guc_exec_queue_snapshot_capture β€” the Kernel API Manual, bestie edition

okay so before we even start: this page lives in the Kernel API Manual, and the whole thing is about one function: xe_guc_exec_queue_snapshot_capture. Yes the title up top got squished into xe_guc_exec_...shot_capture(9) β€” that's just the header being dramatic and running out of room. The real name is the long one. πŸŽ€


✨ NAME ✨

xe_guc_exec_queue_snapshot_capture β€” take a quick lil snapshot of the GuC Engine. like a selfie but for a faulty exec queue πŸ“Έβœ¨


πŸ¦‹ SYNOPSIS πŸ¦‹

struct xe_guc_submit_exec_queue_snapshot *
xe_guc_exec_queue_snapshot_capture (struct xe_exec_queue *q );

that's the whole vibe check right there, no cap.


🌸 ARGUMENTS 🌸

  • q β€” the faulty exec queue. the one that's misbehaving. the problem child. we're taking its picture for the record 🫢

πŸ’– DESCRIPTION πŸ’–

so the way this works is you grab the snapshot now, and it can be printed out at a later stage β€” like when you're doing dev_coredump analysis. think of it as saving the receipt so you can look at it later when everything's on fire πŸ’€πŸ”₯


πŸ‘‘ RETURN πŸ‘‘

you get back a GuC Submit Engine snapshot object. and listen β€” that thing must be freed by the caller using xe_guc_exec_queue_snapshot_free. no leaving it lying around, that's not main character energy, that's a leak. periodt.


🌈 SEE ALSO 🌈


k that's the whole page bestie, go read the others too, they're linked above and they ate πŸ’…

okay and finally the sign-off: this iconic little page comes from the source path ./drivers/gpu/drm/xe, dated October 2026, and yeah β€” it goes by xe_guc_exec_...shot_capture(9) in the footer too, but we don't hold that against it. mwah πŸ«ΆπŸ’œπŸŒ·

πŸ“¦ where this page comes from