函数逻辑报告 |
Source Code:kernel\events\core.c |
Create Date:2022-07-27 15:02:11 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Inherits an event group.* This will quietly suppress orphaned events; !inherit_event() is not an error.* This matches with perf_event_release_kernel() removing all child events.* Returns:* - 0 on success* - <0 on error
函数原型:static int inherit_group(struct perf_event *parent_event, struct task_struct *parent, struct perf_event_context *parent_ctx, struct task_struct *child, struct perf_event_context *child_ctx)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct perf_event * | parent_event | |
struct task_struct * | parent | |
struct perf_event_context * | parent_ctx | |
struct task_struct * | child | |
struct perf_event_context * | child_ctx |
12185 | leader等于Inherit an event from parent task to child task.* Returns:* - valid pointer on success* - NULL for orphaned events* - IS_ERR() on error |
12195 | child_ctr等于Inherit an event from parent task to child task.* Returns:* - valid pointer on success* - NULL for orphaned events* - IS_ERR() on error |
12200 | 如果aux_event恒等于parent_event且child_ctr且非perf_get_aux_event(child_ctr, leader)则返回:负EINVAL |
12204 | 返回:0 |
名称 | 描述 |
---|---|
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 插件可实现:逻辑报告 代码生成和批量转换代码 |