函数逻辑报告 |
Source Code:kernel\events\core.c |
Create Date:2022-07-27 14:55:07 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:calc_timer_values
函数原型:static void calc_timer_values(struct perf_event *event, u64 *now, u64 *enabled, u64 *running)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct perf_event * | event | |
u64 * | now | |
u64 * | enabled | |
u64 * | running |
5428 | now等于perf_clock() |
5429 | ctx_time等于shadow_ctx_time加now |
5430 | __perf_update_times(event, ctx_time, enabled, running) |
名称 | 描述 |
---|---|
perf_event_update_userpage | Callers need to ensure there can be no nesting of this function, otherwise* the seqlock logic goes bad. We can not serialize this because the arch* code calls this from NMI context. |
perf_output_read | XXX PERF_SAMPLE_READ vs inherited events seems difficult.* The problem is that its both hard and excessively expensive to iterate the* child list, not to mention that its impossible to IPI the children running* on another CPU, from interrupt/NMI context. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |