Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\trace_events.h Create Date:2022-07-28 05:58:36
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:race_trigger_soft_disabled - do triggers and test if soft disabled*@file: The file pointer of the event to test* If any triggers without filters are attached to this event, they* will be called here

Proto:static inline bool trace_trigger_soft_disabled(struct trace_event_file *file)

Type:bool

Parameter:

TypeParameterName
struct trace_event_file *file
468  eflags = * 32 bit flags: * bit 0: enabled * bit 1: enabled cmd record * bit 2: enable/disable with the soft disable bit * bit 3: soft disabled * bit 4: trigger enabled * Note: The bits must be set atomically to prevent races * from other writers. Reads of flags do
470  If Not (eflags & EVENT_FILE_FL_TRIGGER_COND) Then
471  If eflags & EVENT_FILE_FL_TRIGGER_MODE Then vent_triggers_call - Call triggers associated with a trace event*@file: The trace_event_file associated with the event*@rec: The trace entry for the event, NULL for unconditional invocation* For each trigger associated with an event, invoke the trigger
473  If eflags & EVENT_FILE_FL_SOFT_DISABLED Then Return true
475  If eflags & EVENT_FILE_FL_PID_FILTER Then Return trace_event_ignore_this_pid(file)
478  Return false
Caller
NameDescribe
ftrace_syscall_enter
ftrace_syscall_exit
trace_event_raw_event_synth
__kprobe_trace_funcKprobe handler
__kretprobe_trace_funcKretprobe handler
__uprobe_trace_func