函数逻辑报告 |
Source Code:kernel\events\core.c |
Create Date:2022-07-27 14:51:45 |
| Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Disable an event
函数原型:static void _perf_event_disable(struct perf_event *event)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct perf_event * | event |
| 2271 | 关闭本地中断,获取所要保护的运行队列(runqueue)的自旋锁(spinlock),为查找可运行进程做准备。( & Protect the states of the events in the list,* nr_active, and the list:) |
| 2272 | 如果state小于等于PERF_EVENT_STATE_OFF则 |
| 2273 | raw_spin_unlock_irq( & Protect the states of the events in the list,* nr_active, and the list:) |
| 2274 | 返回 |
| 2276 | raw_spin_unlock_irq( & Protect the states of the events in the list,* nr_active, and the list:) |
| 名称 | 描述 |
|---|---|
| perf_event_disable | Strictly speaking kernel users cannot create groups and therefore this* interface does not need the perf_event_ctx_lock() magic. |
| perf_event_modify_breakpoint | |
| perf_event_pause | Assume it's not an event with inherit set. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |