函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\tracing_map.c Create Date:2022-07-27 13:13:47
Last Modify:2020-03-17 19:44:05 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:int tracing_map_add_key_field(struct tracing_map *map, unsigned int offset, tracing_map_cmp_fn_t cmp_fn)

返回类型:int

参数:

类型参数名称
struct tracing_map *map
unsigned intoffset
tracing_map_cmp_fn_tcmp_fn
274  idx等于tracing_map_add_field(map, cmp_fn)
276  如果idx小于0则返回:idx
279  offset等于offset
281  key_idx[n_keys++]等于idx
283  返回:idx
调用者
名称描述
create_tracing_map_fields