Function report |
Source Code:kernel\trace\fgraph.c |
Create Date:2022-07-28 12:17:56 |
Last Modify:2020-03-17 20:08:56 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Allocate a return stack for newly created task
Proto:void ftrace_graph_init_task(struct task_struct *t)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | t |
537 | ret_stack = NULL |
538 | curr_ret_stack = -1 |
539 | curr_ret_depth = -1 |
541 | If ftrace_graph_active Then |
544 | ret_stack = kmalloc_array - allocate memory for an array.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc). |
547 | If Not ret_stack Then Return |
549 | graph_init_task(t, ret_stack) |
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 |