函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:tracing_map_elt_clear

函数原型:static void tracing_map_elt_clear(struct tracing_map_elt *elt)

返回类型:void

参数:

类型参数名称
struct tracing_map_elt *elt
359 i小于n_fields循环如果cmp_fn恒等于tracing_map_cmp_atomic64
361  atomic64_set( & sum, 0)
363 i小于n_vars循环
364  atomic64_set( & vars[i], 0)
365  var_set[i] = false
368  如果opselt_clearelt_clear(elt)
调用者
名称描述
tracing_map_elt_init_fields
tracing_map_clearracing_map_clear - Clear a tracing_map*@map: The tracing_map to clear* Resets the tracing map to a cleared or initial state