Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:35:37 |
| Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:void perf_event_update_userpage(struct perf_event *event)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct perf_event * | event |
| 5485 | calc_timer_values(event, & now, & enabled, & running) |
| 5493 | ++seqlock for synchronization |
| 5497 | If hardware event identifier Then add to hardware event value -= local64_read( & prev_count) |
| 5500 | ime event active = enabled + atomic64_read( & child_total_time_enabled) |
| 5503 | ime event on cpu = running + atomic64_read( & child_total_time_running) |
| 5506 | arch_perf_update_userpage(event, userpg, now) |
| 5509 | ++seqlock for synchronization |
| 5510 | preempt_enable() |
| 5511 | unlock : |
| Name | Describe |
|---|---|
| __perf_event_sync_stat | |
| _perf_event_reset | |
| perf_mmap | |
| perf_swevent_add | |
| cpu_clock_event_add | |
| task_clock_event_add |
| 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 |