函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__perf_pmu_output_stop

函数原型:static int __perf_pmu_output_stop(void *info)

返回类型:int

参数:

类型参数名称
void *info
7197  event等于info
7198  pmu等于pmu
7199  cpuctx等于this_cpu_ptr(pmu_cpu_context)
7200  struct remote_output ro = {rb = rb, }
7204  _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
7205  perf_iterate_ctx( & ctx, __perf_event_output_stop, & ro, false)
7206  如果task_ctxperf_iterate_ctx(task_ctx, __perf_event_output_stop, & ro, false)
7209  _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()
7211  返回:err