Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:35:00 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:perf_read_group
Proto:static int perf_read_group(struct perf_event *event, u64 read_format, char __user *buf)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct perf_event * | event | |
u64 | read_format | |
char __user * | buf |
4931 | leader = group_leader |
4938 | values = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
4942 | values[0] = 1 + nr_siblings |
4948 | mutex_lock( & child_mutex) |
4950 | ret = __perf_read_group_add(leader, read_format, values) |
4955 | ret = __perf_read_group_add(child, read_format, values) |
4965 | Go to out |
4967 | unlock : |
4969 | out : |
4971 | Return ret |
Name | Describe |
---|---|
__perf_read | Read the performance event - simple non blocking version for now |
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 |