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

Name:hist_field_print

Proto:static void hist_field_print(struct seq_file *m, struct hist_field *hist_field)

Type:void

Parameter:

TypeParameterName
struct seq_file *m
struct hist_field *hist_field
5599  field_name = hist_field_name(hist_field, 0)
5601  If name Then seq_printf(m, "%s=", name)
5604  If flags & HIST_FIELD_FL_CPU Then seq_puts(m, "cpu")
5606  Else if field_name Then
5607  If flags & HIST_FIELD_FL_VAR_REF || flags & HIST_FIELD_FL_ALIAS Then seq_putc(m, '$')
5610  seq_printf(m, "%s", field_name)
5611  Else if flags & HIST_FIELD_FL_TIMESTAMP Then seq_puts(m, "common_timestamp")
5614  If flags Then
5615  If Not (flags & HIST_FIELD_FL_VAR_REF) && Not (flags & HIST_FIELD_FL_EXPR) Then
5619  If flags Then seq_printf(m, ".%s", flags)
Caller
NameDescribe
event_hist_trigger_print