trace_buffered_event_enable(9)
π trace_buffered_event_enable(9) π
okay so this page is from the Kernel API Manual, and bestie, we're talking about trace_buffered_event_enable β the βenable buffering eventsβ girlie β¨ no cap.
π NAME π
trace_buffered_event_enable β enable buffering events π
β¨ SYNOPSIS β¨
void trace_buffered_event_enable (void );
π«Ά ARGUMENTS π«Ά
voidβ no arguments. like, none. zero. the void is voiding π«₯π
πΈ DESCRIPTION πΈ
So here's the tea, bestie: when events are being filtered, it is quicker to use a temporary buffer to write the event data into if there's a likely chance that it will not be committed. periodt.
The discard of the ring buffer is not as fast as committing, and is much slower than copying a commit. that's the whole reason this shortcut exists, iykyk πβ¨
When an event is to be filtered, allocate per cpu buffers to write the event data into, and if the event is filtered and discarded it is simply dropped, otherwise, the entire data is to be committed in one shot. slay. one shot. that's the vibe π π₯
π SEE ALSO π
Kernel file ./kernel/trace/trace.c β that's the spot, bestie π«Ά
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_disable(9)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)
cute sign-off: source/version ./kernel/trace, date October 2026, function trace_buffered_event_enable(9) β stay buffered, bestie π«Άπβ¨
π¦ 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