函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:have_hist_trigger_match

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

返回类型:bool

参数:

类型参数名称
struct event_trigger_data *data
struct trace_event_file *file
6043  hist_data等于private_data
6044  struct event_trigger_data * test, * named_data = NULL
6045  bool match = false
6047  lockdep_assert_held( & event_mutex)
6049  如果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
6053  如果trigger_type恒等于ETT_EVENT_HIST
6054  如果hist_trigger_match(data, test, named_data, false)则
6055  match = true
6056  退出
6061  返回:match
调用者
名称描述
event_hist_trigger_func