函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:race_buffered_event_disable - disable buffering events* When a filter is removed, it is faster to not use the buffered* events, and to commit directly into the ring buffer. Free up* the temp buffers when there are no more users. This requires

函数原型:void trace_buffered_event_disable(void)

返回类型:void

参数:

2532  WARN_ON_ONCE(!是互斥锁)
2534  如果WARN_ON_ONCE(!trace_buffered_event_ref)则返回
2537  如果trace_buffered_event_ref先自减则返回
2540  禁止抢占()
2542  smp_call_function_many(): Run a function on a set of other CPUs
2544  禁用抢占和中断()
2547  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
2549  for_each_tracing_cpu(cpu)
2550  free_page((unsignedlong)per_cpu(trace_buffered_event, cpu))
2551  per_cpu(trace_buffered_event, cpu) = NULL
2557  smp_wmb()
2559  禁止抢占()
2561  smp_call_function_many(): Run a function on a set of other CPUs
2563  禁用抢占和中断()
调用者
名称描述
trace_buffered_event_enablerace_buffered_event_enable - enable buffering events* When events are being filtered, it is quicker to use a temporary* buffer to write the event data into if there's a likely chance* that it will not be committed
__ftrace_event_enable_disable
filter_disable