Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:32:42 |
| 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 remove a performance event* We disable the event on the hardware level first. After that we* remove it from the context list.
Proto:static void __perf_remove_from_context(struct perf_event *event, struct perf_cpu_context *cpuctx, struct perf_event_context *ctx, void *info)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct perf_event * | event | |
| struct perf_cpu_context * | cpuctx | |
| struct perf_event_context * | ctx | |
| void * | info |
| 2173 | If is_active & EVENT_TIME Then |
| 2174 | update_context_time(ctx) |
| 2178 | event_sched_out(event, cpuctx, ctx) |
| 2179 | If flags & DETACH_GROUP Then perf_group_detach(event) |
| 2181 | Remove an event from the lists for its context.* Must be called with ctx->mutex and ctx->lock held. |
| Name | Describe |
|---|---|
| __perf_event_exit_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 |