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

Name:g_buffer_record_off - stop all writes into the buffer*@buffer: The ring buffer to stop writes to

Proto:void ring_buffer_record_off(struct ring_buffer *buffer)

Type:void

Parameter:

TypeParameterName
struct ring_buffer *buffer
3231  Do
3232  rd = atomic_read( & record_disabled)
3233  new_rd = rd | Used for individual buffers (after the counter)
3234  When atomic_cmpxchg( & record_disabled, rd, new_rd) != rd cycle
Caller
NameDescribe
tracer_tracing_off