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

Name:find_var_file

Proto:static struct trace_event_file *find_var_file(struct trace_array *tr, char *system, char *event_name, char *var_name)

Type:struct trace_event_file

Parameter:

TypeParameterName
struct trace_array *tr
char *system
char *event_name
char *var_name
1797  struct trace_event_file * file, * found = NULL
1799  If system Then Return Returns valid trace event files that match system and event
1803  var_hist_data = hist_data
1804  file = event_file
1805  If file == found Then Continue
1808  If find_var_field(var_hist_data, var_name) Then
1809  If found Then
1811  Return NULL
1814  found = file
1818  Return found
Caller
NameDescribe
find_match_var
find_event_var