xe_guc_chec...buf_overflow(9)
π NAME π
xe_guc_check_log_buf_overflow β bestie, it literally checks if the log buffer overflowed β¨
π SYNOPSIS π
bool xe_guc_check_log_buf_overflow (struct xe_guc_log *log , enum
guc_log_type type , unsigned int full_cnt );
Ok so this is from the Kernel API Manual and it returns a bool, which is giving "yes or no, no in-between" energy π
π¦ ARGUMENTS π¦
logβ the log object itself, the main character of this whole situation π«Άtypeβ the log buffer type, iykyk πΈfull_cntβ the count of buffer full, like how many times it hit the ceiling π
π₯ DESCRIPTION π₯
So here's the vibe: this function checks the count of buffer full against the previous one, and if there's a mismatch, that literally indicates it overflowed π periodt.
Then it updates the sampled_overflow counter β and ngl this part is a little iconic: if the 4 bit counter overflowed, it adds up 16 to correct the value. Yes, 16, no cap, that's the whole trick β¨
π RETURN π
Returns True if overflowed. That's it, that's the answer π
π SEE ALSO π
Kernel file ./drivers/gpu/drm/xe/xe_guc_log.c β go read it, bestie π
xe_guc_log_snapshot_free(9)xe_guc_log_snapshot_capture(9)xe_guc_log_snapshot_print(9)xe_guc_log_print_dmesg(9)xe_guc_log_print(9)xe_guc_log_print_lfd(9)
π¦ mwah, that's the whole page! brought to you from ./drivers/gpu/drm/xe, dated October 2026 β go off, kernel bestie, you ate that πππ§
π¦ 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