函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:find_compatible_hist

函数原型:static struct hist_trigger_data *find_compatible_hist(struct hist_trigger_data *target_hist_data, struct trace_event_file *file)

返回类型:struct hist_trigger_data

参数:

类型参数名称
struct hist_trigger_data *target_hist_data
struct trace_event_file *file
3211  lockdep_assert_held( & event_mutex)
3213  n_keys等于n_fieldsn_vals
3216  如果trigger_type恒等于ETT_EVENT_HIST
3217  hist_data等于private_data
3219  如果compatible_keys(target_hist_data, hist_data, n_keys)则返回:hist_data
3224  返回:NULL
调用者
名称描述
create_field_var_histreate_field_var_hist - Automatically create a histogram and var for a field*@target_hist_data: The target hist trigger*@subsys_name: Optional subsystem name*@event_name: Optional event name*@field_name: The name of the field (and the resulting variable)*