Function report |
Source Code:kernel\trace\trace_uprobe.c |
Create Date:2022-07-28 12:44:38 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:uprobe_buffer_init
Proto:static int uprobe_buffer_init(void)
Type:int
Parameter:Nothing
847 | uprobe_cpu_buffer = alloc_percpu(structuprobe_cpu_buffer) |
848 | If (uprobe_cpu_buffer == NULL) Then Return -ENOMEM |
851 | for_each_possible_cpu(cpu) |
852 | p = Allocate pages, preferring the node given as nid. When nid == NUMA_NO_NODE,* prefer the current CPU's closest node. Otherwise node must be valid and* online. |
854 | If (p == NULL) Then |
858 | ({ |
858 | })->buf = page_address(p) |
862 | Return 0 |
864 | err : |
865 | for_each_possible_cpu(cpu) |
872 | Return -ENOMEM |
Name | Describe |
---|---|
uprobe_buffer_enable |
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 |