Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:racing_start - quick start of the tracer* If tracing is enabled but was stopped by tracing_stop,* this will start the tracer back up.

Proto:void tracing_start(void)

Type:void

Parameter:Nothing

2106  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
2109  raw_spin_lock_irqsave( & start_lock, flags)
2110  If --stop_count Then
2111  If stop_count < 0 Then
2113  WARN_ON_ONCE(1)
2114  stop_count = 0
2116  Go to out
2120  r sched/core.c and kernel_lock.c: ( & * max_lock is used to protect the swapping of buffers * when taking a max snapshot. The buffers themselves are * protected by per_cpu spinlocks. But the action of the swap * needs its own lock. * This is defined as a arch_spinlock_t in order to help * with)
2122  buffer = buffer
2123  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).
2132  arch_spin_unlock( & * max_lock is used to protect the swapping of buffers * when taking a max snapshot. The buffers themselves are * protected by per_cpu spinlocks. But the action of the swap * needs its own lock. * This is defined as a arch_spinlock_t in order to help * with)
2134  out :
2135  raw_spin_unlock_irqrestore( & start_lock, flags)
Caller
NameDescribe
tracing_start_tr