Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Lost/dropped samples logging

Proto:void perf_log_lost_samples(struct perf_event *event, u64 lost)

Type:void

Parameter:

TypeParameterName
struct perf_event *event
u64lost
7966  struct{struct perf_event_header header;u64 lost;}lost_samples_event = {header = {type = PERF_RECORD_LOST_SAMPLES, misc = 0, size = size of lost_samples_event , }, lost = lost, }
7978  perf_event_header__init_id( & header, & sample, event)
7980  ret = perf_output_begin( & handle, event, size)
7982  If ret Then Return
7985  perf_output_put( & handle, lost_samples_event)
7986  perf_event__output_id_sample(event, & handle, & sample)
7987  perf_output_end( & handle)