Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\core.c Create Date:2022-07-28 13:40:25
Last Modify:2022-05-20 07:50:19 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:attach_sb_event

Proto:static void attach_sb_event(struct perf_event *event)

Type:void

Parameter:

TypeParameterName
struct perf_event *event
10554  pel = per_cpu_ptr( & pmu_sb_events, cpu)
10556  raw_spin_lock( & lock)
10557  list_add_rcu - add a new entry to rcu-protected list*@new: new entry to be added*@head: list head to add it after* Insert a new entry after the specified head
10558  raw_spin_unlock( & lock)
Caller
NameDescribe
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.