Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\ring_buffer.c Create Date:2022-07-28 11:54:55
Last Modify:2020-03-17 19:30:04 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:g_buffer_overruns - get the number of overruns in buffer*@buffer: The ring buffer* Returns the total number of overruns in the ring buffer* (all CPU entries)

Proto:unsigned long ring_buffer_overruns(struct ring_buffer *buffer)

Type:unsigned long

Parameter:

TypeParameterName
struct ring_buffer *buffer
3531  overruns = 0
3535  for_each_buffer_cpu(buffer, cpu)
3536  cpu_buffer = buffers[cpu]
3537  overruns += local_read( & overrun)
3540  Return overruns
Caller
NameDescribe
ring_buffer_producer
__tracing_open
trace_init_global_iter
count_overruns