Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:34:43 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:_free_event
Proto:static void _free_event(struct perf_event *event)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct perf_event * | event |
4587 | unaccount_event(event) |
4591 | If rb Then |
4598 | mutex_lock( & mmap_mutex) |
4599 | ring_buffer_attach(event, NULL) |
4603 | If is_cgroup_event(event) Then perf_detach_cgroup(event) |
4606 | If Not parent Then |
4607 | If sample_type & PERF_SAMPLE_CALLCHAIN Then put_callchain_buffers() |
4612 | perf_addr_filters_splice(event, NULL) |
4613 | kfree(addr_filter_ranges) |
4622 | If target Then put_task_struct(target) |
4632 | exclusive_event_destroy(event) |
4633 | module_put(module) |
Name | Describe |
---|---|
free_event | Used to free events which have a known refcount of 1, such as in error paths* where the event isn't exposed yet and inherited events. |
put_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 |