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

Name:track_data_print

Proto:static void track_data_print(struct seq_file *m, struct hist_trigger_data *hist_data, struct tracing_map_elt *elt, struct action_data *data)

Type:void

Parameter:

TypeParameterName
struct seq_file *m
struct hist_trigger_data *hist_data
struct tracing_map_elt *elt
struct action_data *data
3789  track_val = get_track_val(hist_data, elt, data)
3792  If handler == HANDLER_ONMAX Then seq_printf(m, "\n\tmax: %10llu", track_val)
3794  Else if handler == HANDLER_ONCHANGE Then seq_printf(m, "\n\tchanged: %10llu", track_val)
3797  If action == ACTION_SNAPSHOT Then Return
3800  When i < n_save_vars cycle
3801  save_val = val
3802  save_var = var
3805  save_var_idx = idx
3807  val = racing_map_read_var - Return the value of 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* Retrieve the value of the variable i associated with the specified
3809  If flags & HIST_FIELD_FL_STRING Then
3810  seq_printf(m, " %s: %-32s", name, (char * )(uintptr_t)(val))
3812  Else seq_printf(m, " %s: %10llu", name, val)
Caller
NameDescribe
print_actions