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

Name:hist_trigger_check_refs

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

Type:bool

Parameter:

TypeParameterName
struct event_trigger_data *data
struct trace_event_file *file
6067  hist_data = private_data
6068  struct event_trigger_data * test, * named_data = NULL
6070  lockdep_assert_held( & event_mutex)
6072  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
6076  If trigger_type == ETT_EVENT_HIST Then
6077  If Not hist_trigger_match(data, test, named_data, false) Then Continue
6079  hist_data = private_data
6080  If heck_var_refs - Check if there is a reference to any of trigger's variables*@hist_data: The hist trigger* A trigger can define one or more variables Then Return true
6082  Break
6086  Return false
Caller
NameDescribe
event_hist_trigger_func