Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\core.c Create Date:2022-07-28 13:37:38
Last Modify:2022-05-20 07:50:19 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:perf_event_comm

Proto:void perf_event_comm(struct task_struct *task, bool exec)

Type:void

Parameter:

TypeParameterName
struct task_struct *task
boolexec
7425  If Not atomic_read( & nr_comm_events) Then Return
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)