函数逻辑报告 | 
Source Code:kernel\events\core.c | 
Create Date:2022-07-27 15:02:28 | 
| Last Modify:2022-05-20 07:50:19 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:perf_event_init_cpu
函数原型:int perf_event_init_cpu(unsigned int cpu)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| unsigned int | cpu | 
| 12458 | perf_swevent_init_cpu(cpu) | 
| 12460 | mutex_lock( & pmus_lock) | 
| 12461 | 设置CPU信息 | 
| 12463 | cpuctx等于per_cpu_ptr(pmu_cpu_context, cpu) | 
| 12466 | mutex_lock( & Protect the list of events. Locking either mutex or lock* is sufficient to ensure the list doesn't change; to change* the list you need to lock both the mutex and the spinlock.) | 
| 12467 | online等于1 | 
| 12472 | 返回:0 | 
| 名称 | 描述 | 
|---|---|
| perf_event_init | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |