Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:perf_log_itrace_start

Proto:static void perf_log_itrace_start(struct perf_event *event)

Type:void

Parameter:

TypeParameterName
struct perf_event *event
8330  struct perf_aux_event{struct perf_event_header header;u32 pid;u32 tid;}rec
8337  If parent Then event = parent
8340  If Not (capabilities & PERF_PMU_CAP_ITRACE) || attach_state & PERF_ATTACH_ITRACE Then Return
8344  type = PERF_RECORD_ITRACE_START
8345  misc = 0
8346  size = size of rec
8347  pid = perf_event_pid(event, current process)
8348  tid = perf_event_tid(event, current process)
8350  perf_event_header__init_id( & header, & sample, event)
8351  ret = perf_output_begin( & handle, event, size)
8353  If ret Then Return
8356  perf_output_put( & handle, rec)
8357  perf_event__output_id_sample(event, & handle, & sample)
8359  perf_output_end( & handle)
Caller
NameDescribe
event_sched_in