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

Name:__update_field_vars

Proto:static inline void __update_field_vars(struct tracing_map_elt *elt, struct ring_buffer_event *rbe, void *rec, struct field_var **field_vars, unsigned int n_field_vars, unsigned int field_var_str_start)

Type:void

Parameter:

TypeParameterName
struct tracing_map_elt *elt
struct ring_buffer_event *rbe
void *rec
struct field_var **field_vars
unsigned intn_field_vars
unsigned intfield_var_str_start
3439  elt_data = private_data
3443  When i < n_field_vars cycle
3444  field_var = field_vars[i]
3445  var = var
3446  val = val
3448  var_val = fn(val, elt, rbe, rec)
3449  var_idx = idx
3451  If flags & HIST_FIELD_FL_STRING Then
3452  str = field_var_str[j++]
3453  val_str = var_val
3456  var_val = str
3458  racing_map_set_var - Assign a tracing_map_elt's variable field*@elt: The tracing_map_elt*@i: The index of the given variable associated with the tracing_map_elt*@n: The value to assign* Assign n to variable i associated with the specified tracing_map_elt
Caller
NameDescribe
update_field_vars
save_track_data_vars