函数逻辑报告 |
Source Code:kernel\events\core.c |
Create Date:2022-07-27 14:51:42 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:static void perf_remove_from_context(struct perf_event *event, unsigned long flags)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
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 | 如果flags按位与DETACH_GROUP且attach_state按位与PERF_ATTACH_GROUP则 |
2223 | 关闭本地中断,获取所要保护的运行队列(runqueue)的自旋锁(spinlock),为查找可运行进程做准备。( & Protect the states of the events in the list,* nr_active, and the list:) |
2224 | perf_group_detach(event) |
名称 | 描述 |
---|---|
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |