函数逻辑报告 |
Source Code:kernel\events\core.c |
Create Date:2022-07-27 14:53:28 |
| Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Cross CPU call to read the hardware event
函数原型:static void __perf_event_read(void *info)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| void * | info |
| 4001 | cpuctx等于__get_cpu_context(ctx) |
| 4015 | 如果is_active按位与EVENT_TIME则 |
| 4016 | update_context_time(ctx) |
| 4020 | perf_event_update_time(event) |
| 4021 | 如果group则perf_event_update_sibling_time(event) |
| 4024 | 如果state不等于PERF_EVENT_STATE_ACTIVE则转到:unlock |
| 4027 | 如果非group则 |
| 4038 | 如果state恒等于PERF_EVENT_STATE_ACTIVE则 |
| 4047 | ret等于commit_txn(pmu) |
| 4049 | unlock : |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |