函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:g_buffer_overrun_cpu - get the number of overruns caused by the ring* buffer wrapping around (only if RB_FL_OVERWRITE is on).*@buffer: The ring buffer*@cpu: The per CPU buffer to get the number of overruns from

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

返回类型:unsigned long

参数:

类型参数名称
struct ring_buffer *buffer
intcpu
3425  如果非测试CPU信息则返回:0
3428  cpu_buffer等于buffers[cpu]
3429  ret等于local_read( & overrun)
3431  返回:ret
调用者
名称描述
get_total_entries_cpu
tracing_stats_read