函数逻辑报告 |
Source Code:kernel\events\core.c |
Create Date:2022-07-27 14:53:41 |
| Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:alloc_perf_context
函数原型:static struct perf_event_context *alloc_perf_context(struct pmu *pmu, struct task_struct *task)
返回类型:struct perf_event_context
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct pmu * | pmu | |
| struct task_struct * | task |
| 4231 | 如果非ctx则返回:NULL |
| 4235 | 如果task则task等于get_task_struct(task) |
| 4239 | 返回:ctx |
| 名称 | 描述 |
|---|---|
| find_get_context | Returns a matching context with refcount and pincount. |
| inherit_task_group | Creates the child task context and tries to inherit the event-group.* Clears @inherited_all on !attr.inherited or error. Note that we'll leave* inherited_all set when we 'fail' to inherit an orphaned event; this is |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |