simple_ring...able_tracing(9)
πΈ 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β Asimple_rb_per_cpu, bestie. that's the struct in question π«ΆenableβTrueto enable tracing,Falseto 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 π
simple_ring_buffer_swap_reader_page(9)simple_ring_buffer_reserve(9)simple_ring_buffer_commit(9)simple_ring_buffer_reset(9)simple_ring_buffer_init(9)simple_ring_buffer_unload(9)
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
- 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