函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\core.c Create Date:2022-07-27 14:57:30
Last Modify:2022-05-20 07:50:19 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:perf_event_comm

函数原型:void perf_event_comm(struct task_struct *task, bool exec)

返回类型:void

参数:

类型参数名称
struct task_struct *task
boolexec
7425  如果非atomic_read( & nr_comm_events)则返回
7428  comm_event = (struct perf_comm_event){task = task, event_id = {header = {type = PERF_RECORD_COMM, misc = exec ? PERF_RECORD_MISC_COMM_EXEC : 0, }, }, }
7443  perf_event_comm_event( & comm_event)