函数逻辑报告 |
Source Code:kernel\events\core.c |
Create Date:2022-07-27 14:58:45 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:We directly increment event->count and keep a second value in* is kept in the range [-sample_period, 0] so that we can use the* sign as trigger.
函数原型:u64 perf_swevent_set_period(struct perf_event *event)
返回类型:u64
参数:
类型 | 参数 | 名称 |
---|---|---|
struct perf_event * | event | >hw.period_left to count intervals. This period event |
8478 | period等于last_period |
8482 | last_period等于sample_period |
8484 | again : |
8485 | old等于val等于local64_read( & period_left) |
8486 | 如果val小于0则返回:0 |
8492 | 如果local64_cmpxchg( & period_left, old, val)不等于old则转到:again |
8495 | 返回:nr |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |