Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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

Proto:enum event_trigger_type event_triggers_call(struct trace_event_file *file, void *rec, struct ring_buffer_event *event)

Type:enum event_trigger_type

Parameter:

TypeParameterName
struct trace_event_file *file
void *rec
struct ring_buffer_event *event
60  tt = ETT_NONE
63  If list_empty - tests whether a list is empty*@head: the list to test. Then Return tt
67  If paused Then Continue
69  If Not rec Then
70  func(data, rec, event)
71  Continue
73  filter = fetch RCU-sched-protected pointer for dereferencing(filter)
74  If filter && Not rn 1 if event matches, 0 otherwise (discard) Then Continue
76  If event_command_post_trigger(cmd_ops) Then
77  tt |= trigger_type
78  Continue
80  func(data, rec, event)
82  Return tt
Caller
NameDescribe
trace_trigger_soft_disabledrace_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
tracing_mark_write