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

Name:parse_var_ref

Proto:static struct hist_field *parse_var_ref(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
2778  struct hist_field * var_field = NULL, * ref_field = NULL
2779  tr = tr
2781  If Not is_var_ref(var_name) Then Return NULL
2784  var_name++
2786  var_field = find_event_var(hist_data, system, event_name, var_name)
2787  If var_field Then ref_field = reate_var_ref - Create a variable reference and attach it to trigger*@hist_data: The trigger that will be referencing the variable*@var_field: The VAR field to create a reference to*@system: The optional system string*@event_name: The optional event_name
2791  If Not ref_field Then hist_err(tr, HIST_ERR_VAR_NOT_FOUND, errpos(var_name))
2794  Return ref_field
Caller
NameDescribe
parse_atom