Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:tracing_reset_online_cpus

Proto:void tracing_reset_online_cpus(struct trace_buffer *buf)

Type:void

Parameter:

TypeParameterName
struct trace_buffer *buf
1985  buffer = buffer
1988  If Not buffer Then Return
1991  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.
1994  Wait for a grace period to elapse. But it is illegal to invoke* synchronize_rcu() from within an RCU read-side critical section.* Therefore, any legal call to synchronize_rcu() is a quiescent
1996  time_start = buffer_ftrace_now(buf, cpu)
1998  for_each_online_cpu(cpu)
1999  g_buffer_reset_cpu - reset a ring buffer per CPU buffer*@buffer: The ring buffer to reset a per cpu buffer of*@cpu: The CPU buffer to be reset
2001  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).
Caller
NameDescribe
tracing_reset_all_online_cpusMust have trace_types_lock held
tracing_open
tracer_init
tracing_set_clock
function_trace_start
wakeup_reset
mmio_reset_data