Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace.c Create Date:2022-07-28 11:58:14
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:bool tracer_tracing_is_on(struct trace_array *tr)

Type:bool

Parameter:

TypeParameterName
struct trace_array *tr
1297  If buffer Then Return 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  Return Not buffer_disabled
Caller
NameDescribe
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