函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:void tracing_stop(void)

返回类型:void

参数:

2180  raw_spin_lock_irqsave( & start_lock, flags)
2181  如果stop_count自加则转到: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  如果bufferg_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)
调用者
名称描述
tracing_stop_tr