Function report |
Source Code:arch\x86\kernel\dumpstack_32.c |
Create Date:2022-07-28 07:33:41 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:get_stack_info
Proto:int get_stack_info(unsigned long *stack, struct task_struct *task, struct stack_info *info, unsigned long *visit_mask)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long * | stack | |
struct task_struct * | task | |
struct stack_info * | info | |
unsigned long * | visit_mask |
118 | task = If task Else current process |
120 | If in_task_stack(stack, task, info) Then Go to recursion_check |
123 | If task != current process Then Go to unknown |
126 | If in_entry_stack(stack, info) Then Go to recursion_check |
129 | If in_hardirq_stack(stack, info) Then Go to recursion_check |
132 | If in_softirq_stack(stack, info) Then Go to recursion_check |
135 | If in_doublefault_stack(stack, info) Then Go to recursion_check |
138 | Go to unknown |
140 | recursion_check : |
146 | If visit_mask Then |
147 | If visit_mask & 1UL << type Then |
148 | printk_deferred_once(warning conditions "WARNING: stack recursion on stack type %d\n", type) |
149 | Go to unknown |
151 | visit_mask |= 1UL << type |
154 | Return 0 |
156 | unknown : |
157 | type = STACK_TYPE_UNKNOWN |
158 | Return -EINVAL |
Name | Describe |
---|---|
show_trace_log_lvl | |
stack_access_ok | |
__unwind_start | |
unwind_dump | |
update_stack_state | |
__unwind_start | |
unwind_next_frame | |
__unwind_start |
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 |