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:46
Last Modify:2020-03-17 19:30:04 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:g_buffer_record_is_on - return true if the ring buffer can write*@buffer: The ring buffer to see if write is enabled* Returns true if the ring buffer is in a state that it accepts writes.

Proto:bool ring_buffer_record_is_on(struct ring_buffer *buffer)

Type:bool

Parameter:

TypeParameterName
struct ring_buffer *buffer
3269  Return Not atomic_read( & record_disabled)
Caller
NameDescribe
tracer_tracing_is_onracer_tracing_is_on - show real state of ring buffer enabled*@tr : the trace array to know if ring buffer is enabled* Shows real state of the ring buffer if it is enabled or not.