函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\core.c Create Date:2022-07-27 14:57:08
Last Modify:2022-05-20 07:50:19 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Iterate all events that need to receive side-band events.* For new callers; ensure that account_pmu_sb_event() includes* your event, otherwise it might not get delivered.

函数原型:static void perf_iterate_sb(perf_iterate_f output, void *data, struct perf_event_context *task_ctx)

返回类型:void

参数:

类型参数名称
perf_iterate_foutput
void *data
struct perf_event_context *task_ctx
7084  _read_lock() - mark the beginning of an RCU read-side critical section* When synchronize_rcu() is invoked on one CPU while other CPUs* are within RCU read-side critical sections, then the* synchronize_rcu() is guaranteed to block until after all the other
7085  禁止抢占()
7092  如果task_ctx
7093  perf_iterate_ctx(task_ctx, output, data, false)
7094  转到:done
7097  perf_iterate_sb_cpu(output, data)
7100  ctx等于cu_dereference() - fetch RCU-protected pointer for dereferencing*@p: The pointer to read, prior to dereferencing* This is a simple wrapper around rcu_dereference_check().(perf_event_ctxp[ctxn])
7101  如果ctxperf_iterate_ctx(ctx, output, data, false)
7104  done :
7105  禁用抢占和中断()
7106  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
调用者
名称描述
perf_event_task
perf_event_comm_event
perf_event_namespaces
perf_event_mmap_event
perf_event_switch
perf_event_ksymbol
perf_event_bpf_event