ring_buffer_overrun_cpu(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ring_buffer_overrun_cpu(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual page for ring_buffer_overrun_cpu(9) β€” this is the one that gets the number of overruns caused by the ring buffer wrapping around, only if RB_FL_OVERWRITE is on. read that twice, okay? πŸ’–


✨ NAME ✨

ring_buffer_overrun_cpu β€” get the number of overruns caused by the ring buffer wrapping around (only if RB_FL_OVERWRITE is on). πŸ’«

heads up bestie: that RB_FL_OVERWRITE condition is not a vibe suggestion, it's literally part of the deal. 🫢

🌸 SYNOPSIS 🌸

no cap, the signature is literally this:

unsigned long ring_buffer_overrun_cpu (struct trace_buffer *buffer , int
cpu );

πŸŽ€ ARGUMENTS πŸŽ€

  • buffer β€” the ring buffer. yes, that ring buffer. the main character. πŸ‘‘
  • cpu β€” the per CPU buffer to get the number of overruns from. like, which CPU's overrun count are we grabbing? that one. πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file is ./kernel/trace/ring_buffer.c, and the whole linked entourage is right here β€” every single one, no skips, no cap:


mwah πŸ’‹ β€” this cutie came from the source path ./kernel/trace, dated October 2026, and the page is ring_buffer_overrun_cpu(9). byeee 🫢✨

πŸ“¦ where this page comes from