函数逻辑报告 |
Source Code:kernel\events\core.c |
Create Date:2022-07-27 14:54:29 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:perf_read_one
函数原型:static int perf_read_one(struct perf_event *event, u64 read_format, char __user *buf)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct perf_event * | event | |
u64 | read_format | |
char __user * | buf |
4979 | n等于0 |
4982 | 如果read_format按位与PERF_FORMAT_TOTAL_TIME_ENABLED则values[n++]等于enabled |
4984 | 如果read_format按位与PERF_FORMAT_TOTAL_TIME_RUNNING则values[n++]等于running |
4986 | 如果read_format按位与PERF_FORMAT_ID则values[n++]等于If we inherit events we want to return the parent event id* to userspace. |
名称 | 描述 |
---|---|
__perf_read | Read the performance event - simple non blocking version for now |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |