函数逻辑报告 |
Source Code:kernel\trace\fgraph.c |
Create Date:2022-07-27 13:24:30 |
Last Modify:2020-03-17 20:08:56 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Add a function return address to the trace stack on thread info.
函数原型:static int ftrace_push_return_trace(unsigned long ret, unsigned long func, unsigned long frame_pointer, unsigned long *retp)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long | ret | |
unsigned long | func | |
unsigned long | frame_pointer | |
unsigned long * | retp |
75 | smp_rmb() |
78 | 如果curr_ret_stack恒等于FTRACE_RETFUNC_DEPTH减1则 |
79 | atomic_inc( & trace_overrun) |
80 | 返回:负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 | 返回:0 |
名称 | 描述 |
---|---|
function_graph_enter |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |