trace_buffer...vent_disable(9)
π trace_buffer...vent_disable(9) β aka the Kernel API Manual glow-up π
okay so bestie, welcome to the Kernel API Manual β¨ this one's a lil function called trace_buffered_event_disable, and honestly? it's giving "quiet quitting but for buffers" π
let's get into it.
β¨ NAME β¨
trace_buffered_event_disable β disable buffering events π«Ά
like, that's the whole vibe. it turns the buffering of events off.
πΈ SYNOPSIS πΈ
void trace_buffered_event_disable (void );
no returns, no drama, no stray values β she's void through and through π
π¦ ARGUMENTS π¦
voidβ no arguments π fr fr, nothing. empty hands. she takes nothing from you. iconique.
π₯ DESCRIPTION π₯
okay so here's the tea β β when a filter gets removed, it's faster to not use the buffered events and instead commit directly into the ring buffer. speed, slay, periodt π¨
so this function frees up the temp buffers once there are no more users β nobody's holding onto them, so they can go π§
and the important bit, don't skip this: this requires special synchronization with current events π like, you can't just yolo it. there's real synchronization going on with the events happening right now. respect the sync, bestie π
β SEE ALSO β
so many friends, omg. the kernel file is ./kernel/trace/trace.c and here's the whole squad:
trace_array_put(9)tracing_is_enabled(9)tracing_on(9)tracing_snapshot(9)tracing_alloc_snapshot(9)tracer_tracing_disable(9)tracer_tracing_enable(9)tracing_off(9)tracer_tracing_is_on(9)tracing_is_on(9)register_tracer(9)tracing_start(9)tracing_stop(9)trace_buffered_event_enable(9)β the sister function, the enable to this disable πtrace_dump_stack(9)ignore_event(9)trace_adjust_address(9)tracing_update_buffers(9)trace_user_fault_destroy(9)trace_user_fault_init(9)trace_user_fault_get(9)trace_user_fault_put(9)trace_user_fault_read(9)err_pos(9)tracing_log_err(9)trace_array_get_by_name(9)tracing_init_dentry(9)
lowkey a whole friend group in ./kernel/trace β go say hi π
okay that's the page!! π this lil number lives in ./kernel/trace and the version stamp says October 2026 β so mark your calendars bestie, she's timeless πβ¨ bye, ily, read your manpages π
π¦ 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