trace_array_set_clr_event(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌈 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; NULL means any system ✨
  • event β€” event name to match; NULL means all events, within system πŸŽ€
  • enable β€” true to enable, false to 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 πŸ”—


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