函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:remove_hist_vars

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

返回类型:void

参数:

类型参数名称
struct hist_trigger_data *hist_data
1729  tr等于tr
1732  var_data等于find_hist_vars(hist_data)
1733  如果非var_data则返回
1736  如果WARN_ON(heck_var_refs - Check if there is a reference to any of trigger's variables*@hist_data: The hist trigger* A trigger can define one or more variables)则返回
1739  删除链表项
1741  kfree(var_data)
1743  race_array_put - Decrement the reference counter for this trace array.* NOTE: Use this when we no longer need the trace array returned by* trace_array_get_by_name(). This ensures the trace array can be later* destroyed.
调用者
名称描述
event_hist_trigger_free
event_hist_trigger_func