Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:perf_event_comm_output

Proto:static void perf_event_comm_output(struct perf_event *event, void *data)

Type:void

Parameter:

TypeParameterName
struct perf_event *event
void *data
7372  comm_event = data
7375  size = size
7378  If Not perf_event_comm_match(event) Then Return
7381  perf_event_header__init_id( & header, & sample, event)
7382  ret = perf_output_begin( & handle, event, size)
7385  If ret Then Go to out
7388  pid = perf_event_pid(event, task)
7389  tid = perf_event_tid(event, task)
7391  perf_output_put( & handle, event_id)
7392  __output_copy( & handle, comm, comm_size)
7395  perf_event__output_id_sample(event, & handle, & sample)
7397  perf_output_end( & handle)
7398  out :
7399  size = size