Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_events_hist.c Create Date:2022-07-28 12:31:00
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:find_compatible_hist

Proto:static struct hist_trigger_data *find_compatible_hist(struct hist_trigger_data *target_hist_data, struct trace_event_file *file)

Type:struct hist_trigger_data

Parameter:

TypeParameterName
struct hist_trigger_data *target_hist_data
struct trace_event_file *file
3211  lockdep_assert_held( & event_mutex)
3213  n_keys = n_fields - n_vals
3216  If trigger_type == ETT_EVENT_HIST Then
3217  hist_data = private_data
3219  If compatible_keys(target_hist_data, hist_data, n_keys) Then Return hist_data
3224  Return NULL
Caller
NameDescribe
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)*