函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:perf_event_exec

函数原型:void perf_event_exec(void)

返回类型:void

参数:

7147  _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
7149  ctx等于perf_event_ctxp[ctxn]
7150  如果非ctx则继续下一循环
7153  Enable all of a task's events that have been marked enable-on-exec.* This expects task == current.
7155  perf_iterate_ctx(ctx, Clear all file-based filters at exec, they'll have to be* re-instated when/if these objects are mmapped again., NULL, true)
7158  _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()