函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:perf_event_comm_output

函数原型:static void perf_event_comm_output(struct perf_event *event, void *data)

返回类型:void

参数:

类型参数名称
struct perf_event *event
void *data
7372  comm_event等于data
7375  size等于size
7378  如果非perf_event_comm_match(event)则返回
7381  perf_event_header__init_id( & header, & sample, event)
7382  ret等于perf_output_begin( & handle, event, size)
7385  如果ret则转到: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