函数逻辑报告 |
Source Code:arch\x86\kernel\stacktrace.c |
Create Date:2022-07-27 08:53:46 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:arch_stack_walk
函数原型:void arch_stack_walk(stack_trace_consume_fn consume_entry, void *cookie, struct task_struct *task, struct pt_regs *regs)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
stack_trace_consume_fn | consume_entry | |
void * | cookie | |
struct task_struct * | task | |
struct pt_regs * | regs |
21 | 如果regs且非consume_entry(cookie, ip, false)则返回 |
24 | 以非unwind_done( & state)循环 |
26 | addr等于unwind_get_return_address( & state) |
27 | 如果非addr或非consume_entry(cookie, addr, false)则退出 |
名称 | 描述 |
---|---|
stack_trace_save_tsk | stack_trace_save_tsk - Save a task stack trace into a storage array*@task: The task to examine*@store: Pointer to storage array*@size: Size of the storage array*@skipnr: Number of entries to skip at the start of the stack trace |
stack_trace_save_regs | stack_trace_save_regs - Save a stack trace based on pt_regs into a storage array*@regs: Pointer to pt_regs to examine*@store: Pointer to storage array*@size: Size of the storage array*@skipnr: Number of entries to skip at the start of the stack trace |
stack_trace_save | stack_trace_save - Save a stack trace into a storage array*@store: Pointer to storage array*@size: Size of the storage array*@skipnr: Number of entries to skip at the start of the stack trace* Return: Number of trace entries stored. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |