Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\tracing_map.c Create Date:2022-07-28 12:07:08
Last Modify:2020-03-17 19:44:05 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:DEFINE_TRACING_MAP_CMP_FN(s64);DEFINE_TRACING_MAP_CMP_FN(u64);DEFINE_TRACING_MAP_CMP_FN(s32);DEFINE_TRACING_MAP_CMP_FN(u32);DEFINE_TRACING_MAP_CMP_FN(s16);DEFINE_TRACING_MAP_CMP_FN(u16);DEFINE_TRACING_MAP_CMP_FN(s8);DEFINE_TRACING_MAP_CMP_FN(u8);

Proto:tracing_map_cmp_fn_t tracing_map_cmp_num(int field_size, int field_is_signed)

Type:tracing_map_cmp_fn_t

Parameter:

TypeParameterName
intfield_size
intfield_is_signed
169  fn = tracing_map_cmp_none
172  Case field_size == 8
173  If field_is_signed Then fn = tracing_map_cmp_s64
175  Else fn = tracing_map_cmp_u64
177  Break
178  Case field_size == 4
179  If field_is_signed Then fn = tracing_map_cmp_s32
181  Else fn = tracing_map_cmp_u32
183  Break
184  Case field_size == 2
185  If field_is_signed Then fn = tracing_map_cmp_s16
187  Else fn = tracing_map_cmp_u16
189  Break
190  Case field_size == 1
191  If field_is_signed Then fn = tracing_map_cmp_s8
193  Else fn = tracing_map_cmp_u8
195  Break
198  Return fn
Caller
NameDescribe
create_tracing_map_fields