函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:print_graph_entry_nested

函数原型:static enum print_line_t print_graph_entry_nested(struct trace_iterator *iter, struct ftrace_graph_ent_entry *entry, struct trace_seq *s, int cpu, unsigned int flags)

返回类型:enum print_line_t

参数:

类型参数名称
struct trace_iterator *iter
struct ftrace_graph_ent_entry *entry
struct trace_seq *s
intcpu
unsigned intflags
681  call等于graph_ent
682  data等于private
683  tr等于tr
686  如果data
688  cpu等于cpu
690  cpu_data等于per_cpu_ptr(cpu_data, cpu)
691  depth等于depth
694  如果depth小于FTRACE_RETFUNC_DEPTH且非WARN_ON_ONCE(depth < 0)则enter_funcs[depth]等于Current function
700  print_graph_duration(tr, 0, s, flags | FLAGS_FILL_FULL)
703 i小于depthTRACE_GRAPH_INDENT循环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
706  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
708  如果跟踪泛滥则返回: Retry after flushing the seq
715  返回:TRACE_TYPE_NO_CONSUME
调用者
名称描述
print_graph_entry