函数逻辑报告 |
Source Code:kernel\events\core.c |
Create Date:2022-07-27 14:57:24 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:perf_event_task
函数原型:static void perf_event_task(struct task_struct *task, struct perf_event_context *task_ctx, int new)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | task | |
struct perf_event_context * | task_ctx | |
int | new |
7314 | 如果非atomic_read( & nr_comm_events)且非atomic_read( & nr_mmap_events)且非atomic_read( & nr_task_events)则返回 |
7319 | task_event = (struct perf_task_event){task = task, task_ctx = task_ctx, event_id = {header = {type = new ? PERF_RECORD_FORK : PERF_RECORD_EXIT, misc = 0, size = event_id的长度, }, }, } |
名称 | 描述 |
---|---|
perf_event_fork | |
perf_event_exit_task_context | |
perf_event_exit_task | When a child task exits, feed back event values to parent events.* Can be called with cred_guard_mutex held when called from* install_exec_creds(). |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |