函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Lost/dropped samples logging

函数原型:void perf_log_lost_samples(struct perf_event *event, u64 lost)

返回类型:void

参数:

类型参数名称
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 = lost_samples_event的长度, }, lost = lost, }
7978  perf_event_header__init_id( & header, & sample, event)
7980  ret等于perf_output_begin( & handle, event, size)
7982  如果ret则返回
7985  perf_output_put( & handle, lost_samples_event)
7986  perf_event__output_id_sample(event, & handle, & sample)
7987  perf_output_end( & handle)