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

Name:print_graph_entry_nested

Proto: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)

Type:enum print_line_t

Parameter:

TypeParameterName
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  If data Then
688  cpu = cpu
690  cpu_data = per_cpu_ptr(cpu_data, cpu)
691  depth = depth
694  If depth < FTRACE_RETFUNC_DEPTH && Not WARN_ON_ONCE(depth < 0) Then enter_funcs[depth] = Current function
700  print_graph_duration(tr, 0, s, flags | FLAGS_FILL_FULL)
703  When i < depth * TRACE_GRAPH_INDENT 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
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  If race_seq_has_overflowed - return true if the trace_seq took too much*@s: trace sequence descriptor* Returns true if too much data was added to the trace_seq and it is* now full and will not take anymore. Then Return Retry after flushing the seq
715  Return TRACE_TYPE_NO_CONSUME
Caller
NameDescribe
print_graph_entry