Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:racing_stop - quick stop of the tracer* Light weight way to stop tracing. Use in conjunction with* tracing_start.

Proto:void tracing_stop(void)

Type:void

Parameter:Nothing

2180  raw_spin_lock_irqsave( & start_lock, flags)
2181  If stop_count++ Then Go to out
2185  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)
2187  buffer = buffer
2188  If buffer Then g_buffer_record_disable - stop all writes into the buffer*@buffer: The ring buffer to stop writes to.* This prevents all writes to the buffer. Any attempt to write* to the buffer after this will fail and return NULL.
2197  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)
2199  out :
2200  raw_spin_unlock_irqrestore( & start_lock, flags)
Caller
NameDescribe
tracing_stop_tr