函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:racer_tracing_is_on - show real state of ring buffer enabled*@tr : the trace array to know if ring buffer is enabled* Shows real state of the ring buffer if it is enabled or not.

函数原型:bool tracer_tracing_is_on(struct trace_array *tr)

返回类型:bool

参数:

类型参数名称
struct trace_array *tr
1297  如果buffer则返回:g_buffer_record_is_on - return true if the ring buffer can write*@buffer: The ring buffer to see if write is enabled* Returns true if the ring buffer is in a state that it accepts writes.
1299  返回:非buffer_disabled
调用者
名称描述
tracing_is_onracing_is_on - show state of ring buffers enabled
tracing_wait_pipeMust be called with iter->mutex held.
rb_simple_read
rb_simple_write
hwlat_tracer_init