函数逻辑报告 |
Source Code:kernel\events\core.c |
Create Date:2022-07-27 14:54:06 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:_free_event
函数原型:static void _free_event(struct perf_event *event)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct perf_event * | event |
4587 | unaccount_event(event) |
4591 | 如果rb则 |
4598 | mutex_lock( & mmap_mutex) |
4599 | ring_buffer_attach(event, NULL) |
4603 | 如果is_cgroup_event(event)则perf_detach_cgroup(event) |
4606 | 如果非parent则 |
4612 | perf_addr_filters_splice(event, NULL) |
4613 | kfree(addr_filter_ranges) |
4622 | 如果target则put_task_struct(target) |
4632 | exclusive_event_destroy(event) |
4633 | module_put(module) |
名称 | 描述 |
---|---|
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |