函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:tracing_reset_online_cpus

函数原型:void tracing_reset_online_cpus(struct trace_buffer *buf)

返回类型:void

参数:

类型参数名称
struct trace_buffer *buf
1985  buffer等于buffer
1988  如果非buffer则返回
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  遍历在线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).
调用者
名称描述
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