xe_guc_exec_...shot_capture(9)
π 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 π
- the Kernel file
./drivers/gpu/drm/xe/xe_guc_submit.c xe_guc_submit_init(9)Multi Queue Group GuC interface(9)xe_guc_submit_wedge(9)xe_guc_submit_pause(9)xe_guc_submit_pause_vf(9)xe_guc_submit_unpause_prepare_vf(9)xe_guc_submit_unpause(9)xe_guc_submit_unpause_vf(9)xe_guc_submit_pause_abort(9)xe_guc_exec_queue_cgp_sync_done_handler(9)xe_guc_exec_queue_snapshot_capture_delayed(9)xe_guc_exec_queue_snapshot_print(9)xe_guc_exec_queue_snapshot_free(9)xe_guc_register_vf_exec_queue(9)xe_guc_submit_print(9)xe_guc_has_registered_mlrc_queues(9)xe_guc_contexts_hwsp_rebase(9)
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
- 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