Function report |
Source Code:kernel\trace\trace_functions_graph.c |
Create Date:2022-07-28 12:12:44 |
| 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_return
Proto:void trace_graph_return(struct ftrace_graph_ret *trace)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct ftrace_graph_ret * | trace |
| 239 | tr = graph_array |
| 248 | If trace_recursion_test(TRACE_GRAPH_NOTRACE_BIT) Then |
| 250 | Return |
| 253 | local_irq_save(flags) |
| 255 | data = per_cpu_ptr(data, cpu) |
| 256 | disabled = atomic_inc_return( & disabled) |
| 257 | If Value is more likely to compile time(disabled == 1) Then |
| 258 | pc = We mask the PREEMPT_NEED_RESCHED bit so as not to confuse all current users* that think a non-zero value indicates we cannot preempt. |
| 259 | __trace_graph_return(tr, trace, flags, pc) |
| 261 | atomic_dec( & disabled) |
| 262 | local_irq_restore(flags) |
| Name | Describe |
|---|---|
| trace_graph_thresh_return |
| 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 |