函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:racing_map_destroy - Destroy a tracing_map*@map: The tracing_map to destroy* Frees a tracing_map along with its associated array of* tracing_map_elts.* Callers should make sure there are no readers or writers actively

函数原型:void tracing_map_destroy(struct tracing_map *map)

返回类型:void

参数:

类型参数名称
struct tracing_map *map
670  如果非map则返回
673  tracing_map_free_elts(map)
675  tracing_map_array_free(map)
676  kfree(map)
调用者
名称描述
tracing_map_createracing_map_create - Create a lock-free map and element pool*@map_bits: The size of the map (2 ** map_bits)*@key_size: The size of the key for the map in bytes*@ops: Optional client-defined tracing_map_ops instance*@private_data: Client data associated
destroy_hist_data