函数逻辑报告 |
Source Code:kernel\events\core.c |
Create Date:2022-07-27 14:51:40 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Cross CPU call to remove a performance event* We disable the event on the hardware level first. After that we* remove it from the context list.
函数原型:static void __perf_remove_from_context(struct perf_event *event, struct perf_cpu_context *cpuctx, struct perf_event_context *ctx, void *info)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct perf_event * | event | |
struct perf_cpu_context * | cpuctx | |
struct perf_event_context * | ctx | |
void * | info |
2173 | 如果is_active按位与EVENT_TIME则 |
2174 | update_context_time(ctx) |
2178 | event_sched_out(event, cpuctx, ctx) |
2179 | 如果flags按位与DETACH_GROUP则perf_group_detach(event) |
2181 | Remove an event from the lists for its context.* Must be called with ctx->mutex and ctx->lock held. |
名称 | 描述 |
---|---|
__perf_event_exit_context |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |