函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:attach_sb_event

函数原型:static void attach_sb_event(struct perf_event *event)

返回类型:void

参数:

类型参数名称
struct perf_event *event
10554  pel等于per_cpu_ptr( & pmu_sb_events, cpu)
10556  raw_spin_lock( & lock)
10557  添加RCU保护项
10558  raw_spin_unlock( & lock)
调用者
名称描述
account_pmu_sb_eventWe keep a list of all !task (and therefore per-cpu) events* that need to receive side-band records.* This avoids having to scan all the various PMU per-cpu contexts* looking for them.