函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__trace_graph_entry

函数原型:int __trace_graph_entry(struct trace_array *tr, struct ftrace_graph_ent *trace, unsigned long flags, int pc)

返回类型:int

参数:

类型参数名称
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, entry的长度, flags, pc)
109  如果非event则返回: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  如果非call_filter_check_discard(call, entry, buffer, event)则Similar to trace_buffer_unlock_commit_regs() but do not dump stack.
116  返回:1
调用者
名称描述
trace_graph_entry
__trace_graph_function