Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_functions_graph.c Create Date:2022-07-28 12:13:37
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:print_lat_header

Proto:static void print_lat_header(struct seq_file *s, unsigned int flags)

Type:void

Parameter:

TypeParameterName
struct seq_file *s
unsigned intflags
1114  spaces[] = " "
1117  size = 0
1119  If flags & TRACE_GRAPH_PRINT_ABS_TIME Then size += 16
1121  If flags & TRACE_GRAPH_PRINT_REL_TIME Then size += 16
1123  If flags & TRACE_GRAPH_PRINT_CPU Then size += 4
1125  If flags & TRACE_GRAPH_PRINT_PROC Then size += 17
1128  seq_printf(s, "#%.*s _-----=> irqs-off \n", size, spaces)
1129  seq_printf(s, "#%.*s / _----=> need-resched \n", size, spaces)
1130  seq_printf(s, "#%.*s| / _---=> hardirq/softirq \n", size, spaces)
1131  seq_printf(s, "#%.*s|| / _--=> preempt-depth \n", size, spaces)
1132  seq_printf(s, "#%.*s||| / \n", size, spaces)
Caller
NameDescribe
__print_graph_headers_flags