Function report | 
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 activity | Download SCCT | Chinese | 
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:
| Type | Parameter | Name | 
|---|---|---|
| struct trace_array * | tr | |
| struct ftrace_graph_ent * | trace | |
| unsigned long | flags | |
| int | pc | 
| 102 | call = event_funcgraph_entry | 
| 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 | 
| 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 | 
| Name | Describe | 
|---|---|
| trace_graph_entry | |
| __trace_graph_function | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |