函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\events\perf_event.h Create Date:2022-07-27 09:13:36
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__x86_pmu_enable_event

函数原型:static inline void __x86_pmu_enable_event(struct hw_perf_event *hwc, u64 enable_mask)

返回类型:void

参数:

类型参数名称
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  如果regwrmsrl(reg, config)
850  wrmsrl(config_base, (config | enable_mask) & ~disable_mask)