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

Name:get_hist_field_flags

Proto:static const char *get_hist_field_flags(struct hist_field *hist_field)

Type:char

Parameter:

TypeParameterName
struct hist_field *hist_field
2314  const char * flags_str = NULL
2316  If flags & HIST_FIELD_FL_HEX Then flags_str = "hex"
2318  Else if flags & HIST_FIELD_FL_SYM Then flags_str = "sym"
2320  Else if flags & HIST_FIELD_FL_SYM_OFFSET Then flags_str = "sym-offset"
2322  Else if flags & HIST_FIELD_FL_EXECNAME Then flags_str = "execname"
2324  Else if flags & HIST_FIELD_FL_SYSCALL Then flags_str = "syscall"
2326  Else if flags & HIST_FIELD_FL_LOG2 Then flags_str = "log2"
2328  Else if flags & HIST_FIELD_FL_TIMESTAMP_USECS Then flags_str = "usecs"
2331  Return flags_str
Caller
NameDescribe
expr_field_str
hist_field_print