Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\events\perf_event.h Create Date:2022-07-28 08:13:36
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__x86_pmu_enable_event

Proto:static inline void __x86_pmu_enable_event(struct hw_perf_event *hwc, u64 enable_mask)

Type:void

Parameter:

TypeParameterName
struct hw_perf_event *hwc
u64enable_mask
846  disable_mask = Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(perf_ctr_virt_mask)
848  If reg Then wrmsrl(reg, config)
850  wrmsrl(config_base, (config | enable_mask) & ~disable_mask)