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

Name:find_event_var

Proto:static struct hist_field *find_event_var(struct hist_trigger_data *hist_data, char *system, char *event_name, char *var_name)

Type:struct hist_field

Parameter:

TypeParameterName
struct hist_trigger_data *hist_data
char *system
char *event_name
char *var_name
1880  tr = tr
1881  struct hist_field * hist_field = NULL
1884  If Not system || Not event_name Then
1885  hist_field = find_match_var(hist_data, var_name)
1886  If IS_ERR(hist_field) Then Return NULL
1888  If hist_field Then Return hist_field
1892  file = find_var_file(tr, system, event_name, var_name)
1893  If Not file Then Return NULL
1896  hist_field = find_file_var(file, var_name)
1898  Return hist_field
Caller
NameDescribe
parse_var_ref
find_synthetic_field_var
trace_action_find_var