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

Name:find_var

Proto:static struct hist_field *find_var(struct hist_trigger_data *hist_data, struct trace_event_file *file, const char *var_name)

Type:struct hist_field

Parameter:

TypeParameterName
struct hist_trigger_data *hist_data
struct trace_event_file *file
const char *var_name
1772  lockdep_assert_held( & event_mutex)
1774  hist_field = find_var_field(hist_data, var_name)
1775  If hist_field Then Return hist_field
1779  If trigger_type == ETT_EVENT_HIST Then
1780  test_data = private_data
1781  hist_field = find_var_field(test_data, var_name)
1782  If hist_field Then Return hist_field
1787  Return NULL
Caller
NameDescribe
create_var
create_var_field