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

Name:find_target_event_var

Proto:static struct hist_field *find_target_event_var(struct hist_trigger_data *hist_data, char *subsys_name, char *event_name, char *var_name)

Type:struct hist_field

Parameter:

TypeParameterName
struct hist_trigger_data *hist_data
char *subsys_name
char *event_name
char *var_name
3409  file = event_file
3410  struct hist_field * hist_field = NULL
3412  If subsys_name Then
3415  If Not event_name Then Return NULL
3418  call = event_call
3420  If strcmp(subsys_name, system) != 0 Then Return NULL
3423  If strcmp(event_name, trace_event_name(call)) != 0 Then Return NULL
3427  hist_field = find_var_field(hist_data, var_name)
3429  Return hist_field
Caller
NameDescribe
track_data_create
trace_action_find_var