simple_ring...able_tracing(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so welcome to the simple_ring_buffer_enable_tracing(9) page from the Kernel API Manual πŸ’– β€” this function is literally here to Enable or disable writing to @cpu_buffer, no cap.

✨ SYNOPSIS ✨

int simple_ring_buffer_enable_tracing (struct simple_rb_per_cpu
*cpu_buffer , bool enable );

πŸŽ€ ARGUMENTS πŸŽ€

  • cpu_buffer β€” A simple_rb_per_cpu, bestie. that's the struct in question 🫢
  • enable β€” True to enable tracing, False to disable it. the toggle is toggling πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

So this returns 0 on success, or -ENODEV if cpu_buffer was unloaded. that's the whole plot 😭 β€” keep it in mind before you go off tracing, fr fr.

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./kernel/trace/simple_ring_buffer.c 🌈


byeee 🫢 this cutie lives under ./kernel/trace, dated October 2026, and the page tag is simple_ring...able_tracing(9) βœ¨πŸ’–

πŸ“¦ where this page comes from