函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:trace_print_graph_duration

函数原型:void trace_print_graph_duration(unsigned long long duration, struct trace_seq *s)

返回类型:void

参数:

类型参数名称
unsigned long longduration
struct trace_seq *s
563  nsecs_rem等于do_div() is NOT a C function(duration, 1000)
570  输出格式化串
573  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
575  len等于strlen - Find the length of a string*@s: The string to be sized
578  如果len小于7则
579  slen等于min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(size_t, nsecs_str的长度, 8UL - len)
581  snprintf - Format a string and place it in a buffer*@buf: The buffer to place the result into*@size: The size of the buffer, including the trailing null space*@fmt: The format string to use*@
582  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
583  len加等于strlen - Find the length of a string*@s: The string to be sized加1
586  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
589 i小于8循环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
调用者
名称描述
print_graph_duration