Function report |
Source Code:kernel\trace\fgraph.c |
Create Date:2022-07-28 12:17:58 |
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 each task
Proto:static int start_graph_tracing(void)
Type:int
Parameter:Nothing
570 | ret_stack_list = kmalloc_array - allocate memory for an array.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc). |
574 | If Not ret_stack_list Then Return -ENOMEM |
578 | for_each_online_cpu(cpu) |
583 | Do |
587 | If Not ret Then |
594 | kfree(ret_stack_list) |
595 | Return ret |
Name | Describe |
---|---|
register_ftrace_graph |
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 |