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

Name:create_alias

Proto:static struct hist_field *create_alias(struct hist_trigger_data *hist_data, struct hist_field *var_ref, char *var_name)

Type:struct hist_field

Parameter:

TypeParameterName
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  If Not alias Then Return NULL
2865  fn = fn
2866  operands[0] = var_ref
2868  If init_var_ref(alias, var_ref, system, event_name) Then
2869  destroy_hist_field(alias, 0)
2870  Return 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  Return alias
Caller
NameDescribe
parse_atom