Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:tracing_start_tr

Proto:static void tracing_start_tr(struct trace_array *tr)

Type:void

Parameter:

TypeParameterName
struct trace_array *tr
2143  If Kill all tracing for good (never come back).* It is initialized to 1 but will turn to zero if the initialization* of the tracer is successful. But that is the only place that sets* this back to zero. Then Return
2147  If flags & TRACE_ARRAY_FL_GLOBAL Then Return racing_start - quick start of the tracer* If tracing is enabled but was stopped by tracing_stop,* this will start the tracer back up.
2150  raw_spin_lock_irqsave( & start_lock, flags)
2152  If --stop_count Then
2153  If stop_count < 0 Then
2155  WARN_ON_ONCE(1)
2156  stop_count = 0
2158  Go to out
2161  buffer = buffer
2162  If buffer Then g_buffer_record_enable - enable writes to the buffer*@buffer: The ring buffer to enable writes* Note, multiple disables will need the same number of enables* to truly enable the writing (much like preempt_disable).
2165  out :
2166  raw_spin_unlock_irqrestore( & start_lock, flags)
Caller
NameDescribe
tracing_release