函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\ring_buffer.c Create Date:2022-07-27 13:00:21
Last Modify:2020-03-17 19:30:04 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:g_buffer_dropped_events_cpu - get the number of dropped events caused by* the ring buffer filling up (only if RB_FL_OVERWRITE is off).*@buffer: The ring buffer*@cpu: The per CPU buffer to get the number of overruns from

函数原型:unsigned long ring_buffer_dropped_events_cpu(struct ring_buffer *buffer, int cpu)

返回类型:unsigned long

参数:

类型参数名称
struct ring_buffer *buffer
intcpu
3470  如果非测试CPU信息则返回:0
3473  cpu_buffer等于buffers[cpu]
3474  ret等于local_read( & dropped_events)
3476  返回:ret
调用者
名称描述
tracing_stats_read