函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:tracing_start_tr

函数原型:static void tracing_start_tr(struct trace_array *tr)

返回类型:void

参数:

类型参数名称
struct trace_array *tr
2143  如果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.则返回
2147  如果flags按位与TRACE_ARRAY_FL_GLOBAL则返回: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  如果stop_count先自减则
2153  如果stop_count小于0则
2155  WARN_ON_ONCE(1)
2156  stop_count等于0
2158  转到:out
2161  buffer等于buffer
2162  如果bufferg_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)
调用者
名称描述
tracing_release