函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_functions_graph.c Create Date:2022-07-27 13:19:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:print_graph_proc

函数原型:static void print_graph_proc(struct trace_seq *s, pid_t pid)

返回类型:void

参数:

类型参数名称
struct trace_seq *s
pid_tpid
350  spaces等于0
354  trace_find_cmdline(pid, comm)
355  comm[7]等于'\0'
356  输出格式化串
359  len等于strlen - Find the length of a string*@s: The string to be sizedstrlen - Find the length of a string*@s: The string to be sized加1
361  如果len小于TRACE_GRAPH_PROCINFO_LENGTHspaces等于TRACE_GRAPH_PROCINFO_LENGTHlen
365 i小于spaces除2循环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 i小于spacesspaces除2循环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
调用者
名称描述
verif_pidIf the pid changed since the last trace, output this event
print_graph_irq
print_graph_prologue