Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:31:50 |
| Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Because of perf_event::ctx migration in sys_perf_event_open::move_group and* perf_pmu_migrate_context() we need some magic.* Those places that change perf_event::ctx will hold both* perf_event_ctx::mutex of the 'old' and 'new' ctx value.
Proto:static struct perf_event_context *perf_event_ctx_lock_nested(struct perf_event *event, int nesting)
Type:struct perf_event_context
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct perf_event * | event | |
| int | nesting |
| 1270 | again : |
| 1275 | Go to again |
| 1283 | Go to again |
| 1286 | Return ctx |
| Name | Describe |
|---|---|
| perf_event_ctx_lock | |
| perf_try_init_event |
| 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 |