函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:g_buffer_record_off - stop all writes into the buffer*@buffer: The ring buffer to stop writes to

函数原型:void ring_buffer_record_off(struct ring_buffer *buffer)

返回类型:void

参数:

类型参数名称
struct ring_buffer *buffer
3231  循环
3232  rd等于atomic_read( & record_disabled)
3233  new_rd等于rd按位或Used for individual buffers (after the counter)
3234 atomic_cmpxchg( & record_disabled, rd, new_rd)不等于rd循环
调用者
名称描述
tracer_tracing_off