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:tracing_stop_tr

Proto:static void tracing_stop_tr(struct trace_array *tr)

Type:void

Parameter:

TypeParameterName
struct trace_array *tr
2209  If flags & TRACE_ARRAY_FL_GLOBAL Then Return racing_stop - quick stop of the tracer* Light weight way to stop tracing. Use in conjunction with* tracing_start.
2212  raw_spin_lock_irqsave( & start_lock, flags)
2213  If stop_count++ Then Go to out
2216  buffer = buffer
2217  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.
2220  out :
2221  raw_spin_unlock_irqrestore( & start_lock, flags)
Caller
NameDescribe
__tracing_open