函数逻辑报告

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_enable_cpu - enable writes to the buffer*@buffer: The ring buffer to enable writes*@cpu: The CPU to enable.* Note, multiple disables will need the same number of enables* to truly enable the writing (much like preempt_disable).

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

返回类型:void

参数:

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