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:30:58
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:compatible_keys

Proto:static bool compatible_keys(struct hist_trigger_data *target_hist_data, struct hist_trigger_data *hist_data, unsigned int n_keys)

Type:bool

Parameter:

TypeParameterName
struct hist_trigger_data *target_hist_data
struct hist_trigger_data *hist_data
unsigned intn_keys
3182  If n_fields - n_vals != n_keys Then Return false
3185  i = n_vals
3186  j = n_vals
3188  When n < n_keys cycle
3189  hist_field = fields[i + n]
3190  target_hist_field = fields[j + n]
3192  If strcmp(type, type) != 0 Then Return false
3194  If size != size Then Return false
3196  If is_signed != is_signed Then Return false
3200  Return true
Caller
NameDescribe
find_compatible_hist