函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_events_hist.c Create Date:2022-07-27 13:39:16
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:destroy_hist_fields

函数原型:static void destroy_hist_fields(struct hist_trigger_data *hist_data)

返回类型:void

参数:

类型参数名称
struct hist_trigger_data *hist_data
2586 i小于HIST_FIELDS_MAX循环
2587  如果fields[i]则
2589  fields[i] = NULL
2593 i小于n_var_refs循环
2594  WARN_ON(!(flags & HIST_FIELD_FL_VAR_REF))
2595  __destroy_hist_field(var_refs[i])
2596  var_refs[i] = NULL
调用者
名称描述
destroy_hist_data