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

Name:print_graph_prologue

Proto:static void print_graph_prologue(struct trace_iterator *iter, struct trace_seq *s, int type, unsigned long addr, unsigned int flags)

Type:void

Parameter:

TypeParameterName
struct trace_iterator *iter
struct trace_seq *s
inttype
unsigned longaddr
unsigned intflags
722  data = private
723  ent = ent
724  tr = tr
725  cpu = cpu
728  If the pid changed since the last trace, output this event
730  If type Then print_graph_irq(iter, addr, type, cpu, pid, flags)
734  If Not (trace_flags & TRACE_ITER_CONTEXT_INFO) Then Return
738  If flags & TRACE_GRAPH_PRINT_ABS_TIME Then print_graph_abs_time(ts, s)
742  If flags & TRACE_GRAPH_PRINT_REL_TIME Then print_graph_rel_time(iter, s)
746  If flags & TRACE_GRAPH_PRINT_CPU Then print_graph_cpu(s, cpu)
750  If flags & TRACE_GRAPH_PRINT_PROC Then
751  print_graph_proc(s, pid)
752  race_seq_puts - trace sequence printing of simple string*@s: trace sequence descriptor*@str: simple string to record* The tracer may use either the sequence operations or its own* copy to user routines
756  If trace_flags & TRACE_ITER_LATENCY_FMT Then print_graph_lat_fmt(s, ent)
759  Return
Caller
NameDescribe
print_graph_entry
print_graph_return
print_graph_comment