Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\perfctr-watchdog.c Create Date:2022-07-28 08:14:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:hecks for a bit availability (hack for oprofile)

Proto:int avail_to_resrv_perfctr_nmi_bit(unsigned int counter)

Type:int

Parameter:

TypeParameterName
unsigned intcounter
103  BUG_ON(counter > his number is calculated from Intel's MSR_P4_CRU_ESCR5 register and it's* offset from MSR_P4_BSU_ESCR0.* It will be the max for all platforms (for now))
105  Return Not st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from