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

Name:have_hist_trigger_match

Proto:static bool have_hist_trigger_match(struct event_trigger_data *data, struct trace_event_file *file)

Type:bool

Parameter:

TypeParameterName
struct event_trigger_data *data
struct trace_event_file *file
6043  hist_data = private_data
6044  struct event_trigger_data * test, * named_data = NULL
6045  bool match = false
6047  lockdep_assert_held( & event_mutex)
6049  If name Then named_data = d_named_trigger - Find the common named trigger associated with @name*@name: The name of the set of named triggers to find the common data for* Named triggers are sets of triggers that share a common set of* trigger data
6053  If trigger_type == ETT_EVENT_HIST Then
6054  If hist_trigger_match(data, test, named_data, false) Then
6055  match = true
6056  Break
6061  Return match
Caller
NameDescribe
event_hist_trigger_func