| Function report | 
| Source Code: kernel\events\core.c | Create Date:2022-07-28 13:32:34 | 
| Last Modify:2022-05-20 07:50:19 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:perf_group_detach
Proto:static void perf_group_detach(struct perf_event *event)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct perf_event * | event | 
| 1994 | lockdep_assert_held( & Protect the states of the events in the list,* nr_active, and the list:) | 
| 1999 | If Not (attach_state & PERF_ATTACH_GROUP) Then Return | 
| 2002 | attach_state &= ~PERF_ATTACH_GROUP | 
| 2004 | perf_put_aux_event(event) | 
| 2009 | If group_leader != event Then | 
| 2011 | nr_siblings-- | 
| 2012 | Go to out | 
| 2022 | group_leader = sibling | 
| 2026 | group_caps = group_caps | 
| 2028 | If Not 'empty' nodes are nodes that are known not to be inserted in an rbtree ( & group_node) Then | 
| 2031 | If state == PERF_EVENT_STATE_ACTIVE Then | 
| 2039 | WARN_ON_ONCE(ctx != ctx) | 
| 2042 | out : | 
| Name | Describe | 
|---|---|
| __perf_remove_from_context | 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. | 
| perf_remove_from_context | 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 | 
| perf_event_exit_event | |
| perf_free_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 |