Function report |
Source Code:kernel\trace\trace_stack.c |
Create Date:2022-07-28 12:11:28 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:print_max_stack
Proto:static void print_max_stack(void)
Type:void
Parameter:Nothing
42 | These can be used to print at the various log levels.* All of these will print unconditionally, although note that pr_debug()* and other debug macros are compiled out unless either DEBUG is defined* or CONFIG_DYNAMIC_DEBUG is set.(" Depth Size Location (%d entries)\n ----- ---- --------\n", stack_trace_nr_entries) |
46 | When i < stack_trace_nr_entries cycle |
47 | If i + 1 == stack_trace_nr_entries Then size = stack_trace_index[i] |
49 | Else size = stack_trace_index[i] - stack_trace_index[i + 1] |
Name | Describe |
---|---|
check_stack | The stack tracer looks for a maximum stack at each call from a function. It* registers a callback from ftrace, and in that callback it examines the stack* size. It determines the stack size from the variable passed in, which is the |
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 |