Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_events_hist.c Create Date:2022-07-28 12:29:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:remove_hist_vars

Proto:static void remove_hist_vars(struct hist_trigger_data *hist_data)

Type:void

Parameter:

TypeParameterName
struct hist_trigger_data *hist_data
1729  tr = tr
1732  var_data = find_hist_vars(hist_data)
1733  If Not var_data Then Return
1736  If 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) Then Return
1739  deletes entry from list
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.
Caller
NameDescribe
event_hist_trigger_free
event_hist_trigger_func