trace_array_set_clr_event(9)
π trace_array_set_clr_event(9) π
hiii bestie!! welcome to the Kernel API Manual entry for trace_array_set_clr_event(9) π this is a way for other parts of the kernel to enable or disable event recording, and it's lowkey iconic. no cap.
β¨ NAME β¨
trace_array_set_clr_event β enable or disable an event for a trace array. periodt. π
π¦ SYNOPSIS π¦
int trace_array_set_clr_event (struct trace_array *tr , const char
*system , const char *event , bool enable );
π ARGUMENTS π
trβ the concerned trace array, aka the trace array in question πsystemβ system name to match;NULLmeans any system β¨eventβ event name to match;NULLmeans all events, within system πenableβtrueto enable,falseto disable π
π₯ DESCRIPTION π₯
okay so this is a way for other parts of the kernel to enable or disable event recording. main character energy for kernel event toggles, fr fr. π
it returns 0 on success, and it returns -EINVAL if the parameters do not match any registered events. that's the whole return situation, bestie. π«Ά
π SEE ALSO π
- Kernel file
./kernel/trace/trace_events.c trace_event_buffer_reserve(9)trace_set_clr_event(9)t_show_filters(9)t_show_triggers(9)ftrace_event_show_filters_open(9)ftrace_event_show_triggers_open(9)trace_get_event_file(9)trace_put_event_file(9)event_trace_add_tracer(9)early_enable_events(9)
kisses bestie!! π this page's source/version is ./kernel/trace, it's stamped October 2026, and it belongs to the Kernel API Manual β trace_array_set_clr_event(9) slays π
β¨
π¦ 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