GUC LOG BUFFER LAYOUT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– GuC Log buffer Layout(9) πŸ’–

okay bestie, welcome to GuC Log buffer Layout(9) from the Kernel API Manual β€” section 9 energy, no cap. This page is literally the in-memory log buffer layout, and it's giving very organized little memory-map main character vibes. ✨

Here's the in-memory log buffer layout, bestie β€” exact map, nothing dropped:

        +===============================+         0000h
        |    Crash dump state header    |           ^
        +-------------------------------+ 32B       |
        |      Debug state header       |           |
        +-------------------------------+ 64B       4KB
        |     Capture state header      |           |
        +-------------------------------+ 96B       |
        |                               |           v
        +===============================+ <--- EVENT_DATA_OFFSET
        |  Event logs(raw data)         |           ^
        |                               |           |
        |                               | EVENT_DATA_BUFFER_SIZE
        |                               |           |
        |                               |           v
        +===============================+ <--- CRASH_DUMP_OFFSET
        | Crash Dump(raw data)          |           ^
        |                               |           |
        |                               | CRASH_DUMP_BUFFER_SIZE
        |                               |           |
        |                               |           v
        +===============================+ <--- STATE_CAPTURE_OFFSET
        | Error state capture(raw data) |           ^
        |                               |           |
        |                               | STATE_CAPTURE_BUFFER_SIZE
        |                               |           |
        |                               |           v
        +===============================+ Total: GUC_LOG_SIZE

periodt. That's the whole map β€” headers up top, raw-data chunks below, and the grand total is GUC_LOG_SIZE. πŸ’…


πŸ’« SEE ALSO πŸ’«

  • Kernel file ./drivers/gpu/drm/xe/abi/guc_log_abi.h struct
  • guc_log_buffer_state(9)

Catch you later, bestie β€” this page’s source/version is ./drivers/gpu/drm/xe/abi, and it’s dated October 2026. πŸ’–βœ¨

πŸ“¦ where this page comes from