Function report | 
Source Code:kernel\trace\trace_functions_graph.c | 
Create Date:2022-07-28 12:12:39 | 
| 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 ftrace_graph_ent *trace)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct ftrace_graph_ent * | trace | 
| 129 | tr = graph_array | 
| 137 | If trace_recursion_test(TRACE_GRAPH_NOTRACE_BIT) Then Return 0 | 
| 147 | If ftrace_graph_notrace_addr(Current function ) Then | 
| 153 | Return 1 | 
| 156 | If Not ftrace_trace_task(tr) Then Return 0 | 
| 159 | If ftrace_graph_ignore_func(trace) Then Return 0 | 
| 162 | If ftrace_graph_ignore_irqs() Then Return 0 | 
| 169 | If tracing_thresh Then Return 1 | 
| 172 | local_irq_save(flags) | 
| 174 | data = per_cpu_ptr(data, cpu) | 
| 175 | disabled = atomic_inc_return( & disabled) | 
| 176 | If Value is more likely to compile time(disabled == 1) Then | 
| 179 | Else | 
| 180 | ret = 0 | 
| 183 | atomic_dec( & disabled) | 
| 184 | local_irq_restore(flags) | 
| 186 | Return ret | 
| 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  |