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

Name:print_graph_proc

Proto:static void print_graph_proc(struct trace_seq *s, pid_t pid)

Type:void

Parameter:

TypeParameterName
struct trace_seq *s
pid_tpid
350  spaces = 0
354  trace_find_cmdline(pid, comm)
355  comm[7] = '\0'
356  sprintf(pid_str, "%d", pid)
359  len = strlen - Find the length of a string*@s: The string to be sized + strlen - Find the length of a string*@s: The string to be sized + 1
361  If len < TRACE_GRAPH_PROCINFO_LENGTH Then spaces = TRACE_GRAPH_PROCINFO_LENGTH - len
365  When i < spaces / 2 cycle race_seq_putc - trace sequence printing of simple character*@s: trace sequence descriptor*@c: simple character to record* The tracer may use either the sequence operations or its own* copy to user routines
368  race_seq_printf - sequence printing of trace information*@s: trace sequence descriptor*@fmt: printf format string* The tracer may use either sequence operations or its own* copy to user routines
371  When i < spaces - spaces / 2 cycle race_seq_putc - trace sequence printing of simple character*@s: trace sequence descriptor*@c: simple character to record* The tracer may use either the sequence operations or its own* copy to user routines
Caller
NameDescribe
verif_pidIf the pid changed since the last trace, output this event
print_graph_irq
print_graph_prologue