Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:35:02 |
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_one
Proto:static int perf_read_one(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 |
4979 | n = 0 |
4982 | If read_format & PERF_FORMAT_TOTAL_TIME_ENABLED Then values[n++] = enabled |
4984 | If read_format & PERF_FORMAT_TOTAL_TIME_RUNNING Then values[n++] = running |
4986 | If read_format & PERF_FORMAT_ID Then values[n++] = If we inherit events we want to return the parent event id* to userspace. |
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 |