ring_buffer_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so hi bestie, welcome to the Kernel API Manual page for ring_buffer_size(9) β€” and yes, she's literally the function that returns the size of the ring buffer in bytes. that's the whole flex. πŸ’…βœ¨


🌸 SYNOPSIS 🌸

the call itself is giving:

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

πŸŽ€ ARGUMENTS πŸŽ€

  • buffer β€” the ring buffer, bestie. that's the struct trace_buffer * being passed in.
  • cpu β€” the CPU to get the ring buffer size from. it's the int in the call β€” you're basically asking for the tea on that CPU. 🧚

πŸ¦‹ SEE ALSO πŸ¦‹

no cap, the whole ring-buffer extended universe is listed here. go browse, iykyk:


okay that's the whole page, bestie 🫢 source/version: ./kernel/trace; date: October 2026; page: ring_buffer_size(9). byeee πŸ’…βœ¨

πŸ“¦ where this page comes from