Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:35:33 |
| Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:calc_timer_values
Proto:static void calc_timer_values(struct perf_event *event, u64 *now, u64 *enabled, u64 *running)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| 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) |
| Name | Describe |
|---|---|
| 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. |
| 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 |