函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_events_hist.c Create Date:2022-07-27 13:39:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:parse_var_ref

函数原型:static struct hist_field *parse_var_ref(struct hist_trigger_data *hist_data, char *system, char *event_name, char *var_name)

返回类型:struct hist_field

参数:

类型参数名称
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  如果非is_var_ref(var_name)则返回:NULL
2784  var_name自加
2786  var_field等于find_event_var(hist_data, system, event_name, var_name)
2787  如果var_fieldref_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  如果非ref_fieldhist_err(tr, HIST_ERR_VAR_NOT_FOUND, errpos(var_name))
2794  返回:ref_field
调用者
名称描述
parse_atom