Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:perf_event_task_output

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

Type:void

Parameter:

TypeParameterName
struct perf_event *event
void *data
7275  task_event = data
7278  task = task
7279  size = size
7281  If Not perf_event_task_match(event) Then Return
7284  perf_event_header__init_id( & header, & sample, event)
7286  ret = perf_output_begin( & handle, event, size)
7288  If ret Then Go to out
7291  pid = perf_event_pid(event, task)
7292  ppid = perf_event_pid(event, current process)
7294  tid = perf_event_tid(event, task)
7295  ptid = perf_event_tid(event, current process)
7297  time = perf_event_clock(event)
7299  perf_output_put( & handle, event_id)
7301  perf_event__output_id_sample(event, & handle, & sample)
7303  perf_output_end( & handle)
7304  out :
7305  size = size