函数逻辑报告 |
Source Code:kernel\events\core.c |
Create Date:2022-07-27 14:51:56 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:add_event_to_ctx
函数原型:static void add_event_to_ctx(struct perf_event *event, struct perf_event_context *ctx)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct perf_event * | event | |
struct perf_event_context * | ctx |
2493 | Add an event from the lists for its context.* Must be called with ctx->mutex and ctx->lock held. |
2494 | perf_group_attach(event) |
名称 | 描述 |
---|---|
__perf_install_in_context | Cross CPU call to install and enable a performance event* Very similar to remote_function() + event_function() but cannot assume that* things like ctx->is_active and cpuctx->task_ctx are set. |
perf_install_in_context | Attach a performance event to a context.* Very similar to event_function_call, see comment there. |
inherit_event | Inherit an event from parent task to child task.* Returns:* - valid pointer on success* - NULL for orphaned events* - IS_ERR() on error |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |