函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\trace_events.h Create Date:2022-07-27 06:57:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:static inline bool trace_trigger_soft_disabled(struct trace_event_file *file)

返回类型:bool

参数:

类型参数名称
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  如果非eflags按位与EVENT_FILE_FL_TRIGGER_COND的值则
471  如果eflags按位与EVENT_FILE_FL_TRIGGER_MODEvent_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  如果eflags按位与EVENT_FILE_FL_SOFT_DISABLED则返回:true
475  如果eflags按位与EVENT_FILE_FL_PID_FILTER则返回:trace_event_ignore_this_pid(file)
478  返回:false
调用者
名称描述
ftrace_syscall_enter
ftrace_syscall_exit
trace_event_raw_event_synth
__kprobe_trace_funcKprobe handler
__kretprobe_trace_funcKretprobe handler
__uprobe_trace_func