函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:g_buffer_record_on - restart writes into the buffer*@buffer: The ring buffer to start writes to

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

返回类型:void

参数:

类型参数名称
struct ring_buffer *buffer
3254  循环
3255  rd等于atomic_read( & record_disabled)
3256  new_rd等于rd按位与Used for individual buffers (after the counter) 的反
3257 atomic_cmpxchg( & record_disabled, rd, new_rd)不等于rd循环
调用者
名称描述
tracer_tracing_on