Function report |
Source Code:kernel\trace\trace_functions_graph.c |
Create Date:2022-07-28 12:12:40 |
| 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_function
Proto:static void __trace_graph_function(struct trace_array *tr, unsigned long ip, unsigned long flags, int pc)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct trace_array * | tr | |
| unsigned long | ip | |
| unsigned long | flags | |
| int | pc |
| 193 | time = race_clock_local(): the simplest and least coherent tracing clock.* Useful for tracing that does not cross to other CPUs nor* does it go through idle events. |
| 194 | struct ftrace_graph_ent ent = {Current function = ip, depth = 0, } |
| 198 | struct ftrace_graph_ret ret = {Current function = ip, depth = 0, calltime = time, rettime = time, } |
| 205 | __trace_graph_entry(tr, & ent, flags, pc) |
| 206 | __trace_graph_return(tr, & ret, flags, pc) |
| Name | Describe |
|---|---|
| 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 |