函数逻辑报告 |
Source Code:kernel\events\core.c |
Create Date:2022-07-27 14:50:03 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:event_function_call
函数原型:static void event_function_call(struct perf_event *event, event_f func, void *data)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct perf_event * | event | |
event_f | func | |
void * | data |
258 | 如果非parent则 |
267 | 如果非task则 |
272 | 如果task恒等于TASK_TOMBSTONE则返回 |
275 | again : |
279 | 关闭本地中断,获取所要保护的运行队列(runqueue)的自旋锁(spinlock),为查找可运行进程做准备。( & Protect the states of the events in the list,* nr_active, and the list:) |
285 | 如果task恒等于TASK_TOMBSTONE则 |
287 | 返回 |
289 | 如果is_active则 |
291 | 转到:again |
名称 | 描述 |
---|---|
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_disable | Disable an event |
_perf_event_enable | Enable an event |
_perf_event_period |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |