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:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:hist_field_var_ref

Proto:static u64 hist_field_var_ref(struct hist_field *hist_field, struct tracing_map_elt *elt, struct ring_buffer_event *rbe, void *event)

Type:u64

Parameter:

TypeParameterName
struct hist_field *hist_field
struct tracing_map_elt *elt
struct ring_buffer_event *rbe
void *event
1907  var_val = 0
1909  If WARN_ON_ONCE(!elt) Then Return var_val
1912  elt_data = private_data
1913  var_val = var_ref_vals[* When a histogram trigger is hit, if it has any references * to variables, the values of those variables are collected * into a var_ref_vals array by resolve_var_refs(). The * current value of each variable is read from the tracing_map * using the hist fi]
1915  Return var_val