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:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__ftrace_set_clr_event

Proto:static int __ftrace_set_clr_event(struct trace_array *tr, const char *match, const char *sub, const char *event, int set)

Type:int

Parameter:

TypeParameterName
struct trace_array *tr
const char *match
const char *sub
const char *event
intset
784  mutex_lock( & event_mutex)
785  ret = __ftrace_set_clr_event(NULL, NULL, NULL, set) will set/unset all events.
786  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
788  Return ret
Caller
NameDescribe
ftrace_set_clr_event
trace_set_clr_eventrace_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
trace_array_set_clr_eventrace_array_set_clr_event - enable or disable an event for a trace array
system_enable_write