函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:print_graph_duration

函数原型:static void print_graph_duration(struct trace_array *tr, unsigned long long duration, struct trace_seq *s, unsigned int flags)

返回类型:void

参数:

类型参数名称
struct trace_array *tr
unsigned long longduration
struct trace_seq *s
unsigned intflags
597  如果非flags按位与TRACE_GRAPH_PRINT_DURATION的值或非trace_flags按位与TRACE_ITER_CONTEXT_INFO的值则返回
603  : & == FLAGS_FILL_FULL
604  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
605  返回
606  : & == FLAGS_FILL_START
607  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
608  返回
609  : & == FLAGS_FILL_END
610  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
611  返回
615  如果flags按位与TRACE_GRAPH_PRINT_OVERHEADrace_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
617  否则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
620  trace_print_graph_duration(duration, s)
621  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
调用者
名称描述
print_graph_irq
print_graph_entry_leafCase of a leaf function on its call entry
print_graph_entry_nested
print_graph_return
print_graph_comment