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

Name:print_graph_entry

Proto:static enum print_line_t print_graph_entry(struct ftrace_graph_ent_entry *field, struct trace_seq *s, struct trace_iterator *iter, unsigned int flags)

Type:enum print_line_t

Parameter:

TypeParameterName
struct ftrace_graph_ent_entry *field
struct trace_seq *s
struct trace_iterator *iter
unsigned intflags
868  data = private
869  call = graph_ent
872  cpu = cpu
874  If Entry check for irq code* returns 1 if* - we are inside irq code* - we just entered irq code* retunns 0 if* - funcgraph-interrupts option is set* - we are not inside irq code Then Return TRACE_TYPE_HANDLED
877  print_graph_prologue(iter, s, TRACE_GRAPH_ENT, Current function , flags)
879  leaf_ret = get_return_for_leaf(iter, field)
880  If leaf_ret Then ret = Case of a leaf function on its call entry
882  Else ret = print_graph_entry_nested(iter, field, s, cpu, flags)
885  If data Then
890  If full Then
891  failed = 1
892  cpu = cpu
893  Else failed = 0
897  Return ret
Caller
NameDescribe
print_graph_function_flags