Function report |
Source Code:kernel\trace\fgraph.c |
Create Date:2022-07-28 12:17:36 |
Last Modify:2020-03-17 20:08:56 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Add a function return address to the trace stack on thread info.
Proto:static int ftrace_push_return_trace(unsigned long ret, unsigned long func, unsigned long frame_pointer, unsigned long *retp)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long | ret | |
unsigned long | func | |
unsigned long | frame_pointer | |
unsigned long * | retp |
75 | smp_rmb() |
78 | If curr_ret_stack == FTRACE_RETFUNC_DEPTH - 1 Then |
79 | atomic_inc( & trace_overrun) |
80 | Return -EBUSY |
83 | calltime = 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. |
85 | index = ++curr_ret_stack |
96 | Return 0 |
Name | Describe |
---|---|
function_graph_enter |
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 |