函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:d_var_ref - Check if a trigger has a reference to a trigger variable*@hist_data: The hist trigger that might have a reference to the variable*@var_data: The hist trigger that owns the variable*@var_idx: The trigger variable identifier* Check the list of

函数原型:static struct hist_field *find_var_ref(struct hist_trigger_data *hist_data, struct hist_trigger_data *var_data, unsigned int var_idx)

返回类型:struct hist_field

参数:

类型参数名称
struct hist_trigger_data *hist_data
struct hist_trigger_data *var_data
unsigned intvar_idx
1575 i小于n_var_refs循环
1576  hist_field等于var_refs[i]
1577  如果heck_field_for_var_ref - Check if a VAR_REF field references a variable*@hist_field: The VAR_REF field to check*@var_data: The hist trigger that owns the variable*@var_idx: The trigger variable identifier* Check the given VAR_REF field to see whether or 则返回:hist_field
1581  返回:NULL
调用者
名称描述
find_any_var_refd_any_var_ref - Check if there is a reference to a given trigger variable*@hist_data: The hist trigger*@var_idx: The trigger variable identifier* Check to see whether the given variable is currently referenced by* any other trigger