STRUCT XE_GUC_LOG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct xe_guc_log β€” GuC log ✨

okay bestie, welcome to the Kernel API Manual page for struct xe_guc_log 🫢 this is the lil struct that describes a GuC log, and we’re gonna go through every single field together. no skipping, no cap πŸ’…


🌸 NAME 🌸

struct xe_guc_log β€” GuC log πŸ’–


✨ SYNOPSIS ✨

here’s the exact shape, bestie β€” copy it, don’t β€œfix” it:

struct xe_guc_log {
    u32 level;
    struct xe_bo *bo;
    struct {
      u32 sampled_overflow;
      u32 overflow;
      u32 flush;
    } stats[GUC_LOG_BUFFER_TYPE_MAX];
 };

πŸ‘‘ Members πŸ‘‘

  • level β€” the GuC log level, literally right there in a u32 πŸŽ€
  • bo β€” the Xe BO for the GuC log, pointed at by struct xe_bo *bo πŸ’«
  • stats β€” logging related stats ✨ this one’s an array of the lil anonymous struct, with sampled_overflow, overflow, and flush inside, sized by GUC_LOG_BUFFER_TYPE_MAX πŸ‘‘

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./drivers/gpu/drm/xe/xe_guc_log_types.h struct xe_guc_log_snapshot(9) πŸ’œ

this page lives under ./drivers/gpu/drm/xe, is dated October 2026, and is the struct xe_guc_log(9) entry β€” mwah, periodt πŸ’‹πŸŒˆ

πŸ“¦ where this page comes from