Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:actions_match

Proto:static bool actions_match(struct hist_trigger_data *hist_data, struct hist_trigger_data *hist_data_test)

Type:bool

Parameter:

TypeParameterName
struct hist_trigger_data *hist_data
struct hist_trigger_data *hist_data_test
5048  If n_actions != n_actions Then Return false
5051  When i < n_actions cycle
5052  data = actions[i]
5053  data_test = actions[i]
5056  If handler != handler Then Return false
5058  If action != action Then Return false
5061  If n_params != n_params Then Return false
5064  When j < n_params cycle
5065  If strcmp(params[j], params[j]) != 0 Then Return false
5069  If use_trace_keyword Then action_name = synth_event_name
5071  Else action_name = action_name
5074  If use_trace_keyword Then action_name_test = synth_event_name
5076  Else action_name_test = action_name
5079  If strcmp(action_name, action_name_test) != 0 Then Return false
5082  If handler == HANDLER_ONMATCH Then
5083  If strcmp(event_system, event_system) != 0 Then Return false
5086  If strcmp(event, event) != 0 Then Return false
5089  Else if handler == HANDLER_ONMAX || handler == HANDLER_ONCHANGE Then
5091  If strcmp(var_str, var_str) != 0 Then Return false
5097  Return true
Caller
NameDescribe
hist_trigger_match