函数逻辑报告 |
Source Code:kernel\trace\fgraph.c |
Create Date:2022-07-27 13:24:33 |
| Last Modify:2020-03-17 20:08:56 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Retrieve a function return address to the trace stack on thread info.
函数原型:static void ftrace_pop_return_trace(struct ftrace_graph_ret *trace, unsigned long *ret, unsigned long frame_pointer)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct ftrace_graph_ret * | trace | |
| unsigned long * | ret | |
| unsigned long | frame_pointer |
| 152 | index等于curr_ret_stack |
| 154 | 如果此条件成立可能性小(为编译器优化)(index < 0 || index >= FTRACE_RETFUNC_DEPTH)则 |
| 156 | WARN_ON(1) |
| 158 | ret等于panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns. |
| 159 | 返回 |
| 191 | Current function 等于func |
| 193 | Number of functions that overran the depth limit for current task 等于atomic_read( & trace_overrun) |
| 194 | depth等于curr_ret_depth自减 |
| 名称 | 描述 |
|---|---|
| ftrace_return_to_handler | the original return address. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |