函数逻辑报告 |
Source Code:kernel\events\core.c |
Create Date:2022-07-27 14:50:50 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Get the context for a task and increment its pin_count so it* can't get swapped to another task. This also increments its* reference count so that the context can't get freed.
函数原型:static struct perf_event_context *perf_pin_task_context(struct task_struct *task, int ctxn)
返回类型:struct perf_event_context
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | task | |
int | ctxn |
1430 | ctx等于Get the perf_event_context for a task and lock it.* This has to cope with with the fact that until it is locked,* the context could get moved to another task. |
1431 | 如果ctx则 |
1432 | pin_count先自加 |
1435 | 返回:ctx |
名称 | 描述 |
---|---|
perf_event_exit_task_context | |
perf_event_init_context | Initialize the perf_event context in task_struct |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |