Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:36:18 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:perf_sample_ustack_size
Proto:static u16 perf_sample_ustack_size(u16 stack_size, u16 header_size, struct pt_regs *regs)
Type:u16
Parameter:
Type | Parameter | Name |
---|---|---|
u16 | stack_size | |
u16 | header_size | |
struct pt_regs * | regs |
6198 | If Not regs Then Return 0 |
6212 | stack_size = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(stack_size, (u16)task_size) |
6215 | header_size += 2 * sizeof(u64) |
6218 | If header_size + stack_size < header_size Then |
6223 | stack_size = USHRT_MAX - header_size - sizeof(u64) |
6227 | Return stack_size |
Name | Describe |
---|---|
perf_prepare_sample |
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 |