函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:print_graph_function_flags

函数原型:enum print_line_t print_graph_function_flags(struct trace_iterator *iter, unsigned int flags)

返回类型:enum print_line_t

参数:

类型参数名称
struct trace_iterator *iter
unsigned intflags
1042  data等于private
1043  entry等于ent
1044  s等于 The below is zeroed out in pipe_read
1045  cpu等于cpu
1048  if (data && ({
1048  ({
1048  循环
1048  const void * __vpp_verify = NULL
1048  当0循环
1048  cpu_data
1048  })
1048  })->ignore)
1049  ({
1049  ({
1049  循环
1049  const void * __vpp_verify = NULL
1049  当0循环
1049  cpu_data
1049  })
1049  })->ignore = 0
1050  返回:TRACE_TYPE_HANDLED
1057  如果datafailed
1058  field等于 Place to preserve last processed entry.
1059  cpu等于cpu
1060  ret等于print_graph_entry(field, s, iter, flags)
1061  如果ret恒等于TRACE_TYPE_HANDLEDcpu不等于cpu
1062  ({
1062  cpu
1062  ({
1062  循环
1062  const void * __vpp_verify = NULL
1062  当0循环
1062  cpu_data
1062  })
1062  })->ignore = 1
1065  cpu等于cpu
1066  返回:ret
1070  :type恒等于TRACE_GRAPH_ENT
1079  saved等于field
1080  返回:print_graph_entry( & saved, s, iter, flags)
1082  :type恒等于TRACE_GRAPH_RET
1084  The trace_assign_type is a verifier that the entry type is* the same as the type being assigned. To add new types simply* add a line with the following format:* IF_ASSIGN(var, ent, type, id);* Where "type" is the trace type that includes the trace_entry(field, entry)
1085  返回:print_graph_return( & ret, s, entry, iter, flags)
1087  :type恒等于TRACE_STACK
1088  :type恒等于TRACE_FN
1090  返回: Relay to other output functions
1092  默认
1093  返回:print_graph_comment(s, entry, iter, flags)
1096  返回:TRACE_TYPE_HANDLED
调用者
名称描述
print_graph_function