Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_events.c Create Date:2022-07-28 12:19:12
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:race_set_clr_event - enable or disable an event*@system: system name to match (NULL for any system)*@event: event name to match (NULL for all events, within system)*@set: 1 to enable, 0 to disable* This is a way for other parts of the kernel to enable or

Proto:int trace_set_clr_event(const char *system, const char *event, int set)

Type:int

Parameter:

TypeParameterName
const char *system
const char *event
intset
845  tr = The global tracer (top) should be the first trace array added,* but we check the flag anyway.
847  If Not tr Then Return -ENODEV
850  Return __ftrace_set_clr_event(tr, NULL, system, event, set)