Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:34:10 |
| Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Cross CPU call to read the hardware event
Proto:static void __perf_event_read(void *info)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| void * | info |
| 4001 | cpuctx = __get_cpu_context(ctx) |
| 4015 | If is_active & EVENT_TIME Then |
| 4016 | update_context_time(ctx) |
| 4020 | perf_event_update_time(event) |
| 4021 | If group Then perf_event_update_sibling_time(event) |
| 4024 | If state != PERF_EVENT_STATE_ACTIVE Then Go to unlock |
| 4027 | If Not group Then |
| 4038 | If state == PERF_EVENT_STATE_ACTIVE Then |
| 4047 | ret = commit_txn(pmu) |
| 4049 | unlock : |
| 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 |