Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:32:43 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Remove the event from a task's (or a CPU's) list of events.* If event->ctx is a cloned context, callers must make sure that* every task struct that event->ctx->task could possibly point to* remains valid. This is OK when called from perf_release since
Proto:static void perf_remove_from_context(struct perf_event *event, unsigned long flags)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct perf_event * | event | |
unsigned long | flags |
2208 | event_function_call(event, 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., (void * )flags) |
2217 | If flags & DETACH_GROUP && attach_state & PERF_ATTACH_GROUP Then |
2224 | perf_group_detach(event) |
Name | Describe |
---|---|
perf_event_release_kernel | Kill an event dead; while event:refcount will preserve the event* object, it will not preserve its functionality. Once the last 'user'* gives up the object, we'll destroy the thing. |
perf_pmu_migrate_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 |