函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:g_buffer_record_disable_cpu - stop all writes into the cpu_buffer*@buffer: The ring buffer to stop writes to.*@cpu: The CPU buffer to stop* This prevents all writes to the buffer. Any attempt to write* to the buffer after this will fail and return NULL.

函数原型:void ring_buffer_record_disable_cpu(struct ring_buffer *buffer, int cpu)

返回类型:void

参数:

类型参数名称
struct ring_buffer *buffer
intcpu
3302  如果非测试CPU信息则返回
3305  cpu_buffer等于buffers[cpu]
3306  atomic_inc( & record_disabled)
调用者
名称描述
tracing_cpumask_write