函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:create_alias

函数原型:static struct hist_field *create_alias(struct hist_trigger_data *hist_data, struct hist_field *var_ref, char *var_name)

返回类型:struct hist_field

参数:

类型参数名称
struct hist_trigger_data *hist_data
struct hist_field *var_ref
char *var_name
2858  struct hist_field * alias = NULL
2859  flags等于HIST_FIELD_FL_ALIAS按位或HIST_FIELD_FL_VAR
2861  alias等于create_hist_field(hist_data, NULL, flags, var_name)
2862  如果非alias则返回:NULL
2865  fn等于fn
2866  operands[0]等于var_ref
2868  如果init_var_ref(alias, var_ref, system, event_name)则
2869  destroy_hist_field(alias, 0)
2870  返回:NULL
2873  * When a histogram trigger is hit, if it has any references * to variables, the values of those variables are collected * into a var_ref_vals array by resolve_var_refs(). The * current value of each variable is read from the tracing_map * using the hist fi等于* When a histogram trigger is hit, if it has any references * to variables, the values of those variables are collected * into a var_ref_vals array by resolve_var_refs(). The * current value of each variable is read from the tracing_map * using the hist fi
2875  返回:alias
调用者
名称描述
parse_atom