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

Name:__trace_graph_entry

Proto:int __trace_graph_entry(struct trace_array *tr, struct ftrace_graph_ent *trace, unsigned long flags, int pc)

Type:int

Parameter:

TypeParameterName
struct trace_array *tr
struct ftrace_graph_ent *trace
unsigned longflags
intpc
102  call = event_funcgraph_entry
104  buffer = buffer
107  event = trace_buffer_lock_reserve(buffer, TRACE_GRAPH_ENT, size of entry , flags, pc)
109  If Not event Then Return 0
111  entry = g_buffer_event_data - return the data of the event*@event: the event to get the data from
112  graph_ent = trace
113  If Not call_filter_check_discard(call, entry, buffer, event) Then Similar to trace_buffer_unlock_commit_regs() but do not dump stack.
116  Return 1
Caller
NameDescribe
trace_graph_entry
__trace_graph_function