函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:print_graph_entry

函数原型: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)

返回类型:enum print_line_t

参数:

类型参数名称
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  如果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则返回: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  如果leaf_retret等于Case of a leaf function on its call entry
882  否则ret等于print_graph_entry_nested(iter, field, s, cpu, flags)
885  如果data
890  如果full
891  failed等于1
892  cpu等于cpu
893  否则failed等于0
897  返回:ret
调用者
名称描述
print_graph_function_flags