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

Name:print_graph_function_flags

Proto:enum print_line_t print_graph_function_flags(struct trace_iterator *iter, unsigned int flags)

Type:enum print_line_t

Parameter:

TypeParameterName
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  Do
1048  const void * __vpp_verify = NULL
1048  When 0 cycle
1048  cpu_data
1048  })
1048  })->ignore)
1049  ({
1049  ({
1049  Do
1049  const void * __vpp_verify = NULL
1049  When 0 cycle
1049  cpu_data
1049  })
1049  })->ignore = 0
1050  Return TRACE_TYPE_HANDLED
1057  If data && failed Then
1058  field = Place to preserve last processed entry.
1059  cpu = cpu
1060  ret = print_graph_entry(field, s, iter, flags)
1061  If ret == TRACE_TYPE_HANDLED && cpu != cpu Then
1062  ({
1062  cpu
1062  ({
1062  Do
1062  const void * __vpp_verify = NULL
1062  When 0 cycle
1062  cpu_data
1062  })
1062  })->ignore = 1
1065  cpu = cpu
1066  Return ret
1070  Case type == TRACE_GRAPH_ENT
1079  saved = field
1080  Return print_graph_entry( & saved, s, iter, flags)
1082  Case 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  Return print_graph_return( & ret, s, entry, iter, flags)
1087  Case type == TRACE_STACK
1088  Case type == TRACE_FN
1090  Return Relay to other output functions
1092  Default
1093  Return print_graph_comment(s, entry, iter, flags)
1096  Return TRACE_TYPE_HANDLED
Caller
NameDescribe
print_graph_function