函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:d_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

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

返回类型:struct hist_field

参数:

类型参数名称
struct hist_trigger_data *hist_data
unsigned intvar_idx
1601  tr等于tr
1602  struct hist_field * found = NULL
1606  如果hist_data恒等于hist_data则继续下一循环
1608  found等于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
1609  如果found退出
1613  返回:found
调用者
名称描述
check_var_refsheck_var_refs - Check if there is a reference to any of trigger's variables*@hist_data: The hist trigger* A trigger can define one or more variables