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:11
Last Modify:2020-03-17 19:44:05 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:racing_map_add_key_field - Add a field describing a tracing_map key*@map: The tracing_map*@offset: The offset within the key*@cmp_fn: The comparison function that will be used to sort on the key* Let the map know there is a key and that if it's used as a

Proto:int tracing_map_add_key_field(struct tracing_map *map, unsigned int offset, tracing_map_cmp_fn_t cmp_fn)

Type:int

Parameter:

TypeParameterName
struct tracing_map *map
unsigned intoffset
tracing_map_cmp_fn_tcmp_fn
274  idx = tracing_map_add_field(map, cmp_fn)
276  If idx < 0 Then Return idx
279  offset = offset
281  key_idx[n_keys++] = idx
283  Return idx
Caller
NameDescribe
create_tracing_map_fields