Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:41:21 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:perf_free_event
Proto:static void perf_free_event(struct perf_event *event, struct perf_event_context *ctx)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct perf_event * | event | |
struct perf_event_context * | ctx |
11942 | If WARN_ON_ONCE(!parent) Then Return |
11945 | mutex_lock( & child_mutex) |
11952 | perf_group_detach(event) |
11953 | Remove an event from the lists for its context.* Must be called with ctx->mutex and ctx->lock held. |
11954 | raw_spin_unlock_irq( & Protect the states of the events in the list,* nr_active, and the list:) |
Name | Describe |
---|---|
perf_event_free_task | Free a context as created by inheritance by perf_event_init_task() below,* used by fork() in case of fail.* Even though the task has never lived, the context and events have been* exposed through the child_list, so we must take care tearing it all down. |
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 |