函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:hist_trigger_check_refs

函数原型:static bool hist_trigger_check_refs(struct event_trigger_data *data, struct trace_event_file *file)

返回类型:bool

参数:

类型参数名称
struct event_trigger_data *data
struct trace_event_file *file
6067  hist_data等于private_data
6068  struct event_trigger_data * test, * named_data = NULL
6070  lockdep_assert_held( & event_mutex)
6072  如果namenamed_data等于d_named_trigger - Find the common named trigger associated with @name*@name: The name of the set of named triggers to find the common data for* Named triggers are sets of triggers that share a common set of* trigger data
6076  如果trigger_type恒等于ETT_EVENT_HIST
6077  如果非hist_trigger_match(data, test, named_data, false)则继续下一循环
6079  hist_data等于private_data
6080  如果heck_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则返回:true
6082  退出
6086  返回:false
调用者
名称描述
event_hist_trigger_func