Go to the source code of this file.
◆ PFM_NHM_LBR_ALL
| #define PFM_NHM_LBR_ALL 0x1fc /* filter out all branches */ |
◆ PFM_NHM_LBR_FAR_BRANCH
| #define PFM_NHM_LBR_FAR_BRANCH 0x100/* do not capture far branches */ |
◆ PFM_NHM_LBR_JCC
| #define PFM_NHM_LBR_JCC 0x4 /* do not capture conditional branches */ |
◆ PFM_NHM_LBR_NEAR_IND_CALL
| #define PFM_NHM_LBR_NEAR_IND_CALL 0x10 /* do not capture indirect calls */ |
◆ PFM_NHM_LBR_NEAR_IND_JMP
| #define PFM_NHM_LBR_NEAR_IND_JMP 0x40 /* do not capture indirect jumps */ |
◆ PFM_NHM_LBR_NEAR_REL_CALL
| #define PFM_NHM_LBR_NEAR_REL_CALL 0x8 /* do not capture near calls */ |
◆ PFM_NHM_LBR_NEAR_REL_JMP
| #define PFM_NHM_LBR_NEAR_REL_JMP 0x80 /* do not capture near relative jumps */ |
◆ PFM_NHM_LBR_NEAR_RET
| #define PFM_NHM_LBR_NEAR_RET 0x20 /* do not capture near returns */ |
◆ PFM_NHM_SEL_ANYTHR
| #define PFM_NHM_SEL_ANYTHR 0x4 /* any thread (core only) */ |
◆ PFM_NHM_SEL_EDGE
| #define PFM_NHM_SEL_EDGE 0x2 /* edge detect */ |
◆ PFM_NHM_SEL_INV
| #define PFM_NHM_SEL_INV 0x1 /* inverse */ |
◆ PFM_NHM_SEL_OCC_RST
| #define PFM_NHM_SEL_OCC_RST 0x8 /* reset occupancy (uncore only) */ |
◆ PMU_NHM_NUM_COUNTERS
| #define PMU_NHM_NUM_COUNTERS 16 |
◆ pfm_nhm_data_src_desc()
| int pfm_nhm_data_src_desc |
( |
unsigned int |
val, |
|
|
char ** |
desc |
|
) |
| |
Definition at line 1604 of file pfmlib_intel_nhm.c.
1605{
1606 if (val > 15 || !desc)
1608
1610 if (!*desc)
1612
1614}
static const char * data_src_encodings[]
◆ pfm_nhm_is_pebs()
Definition at line 1534 of file pfmlib_intel_nhm.c.
1535{
1537 unsigned int i, n=0;
1538
1541
1544 return 1;
1545
1546
1547
1548
1550 int midx;
1551
1556 n++;
1557 }
1559}
pfm_pmu_support_t intel_nhm_support
static pme_nhm_entry_t * get_nhm_entry(unsigned int i)
static int pfm_nhm_midx2uidx(unsigned int ev, unsigned int midx)
unsigned int unit_masks[PFMLIB_MAX_MASKS_PER_EVENT]
pme_nhm_umask_t pme_umasks[PFMLIB_NHM_MAX_UMASK]
◆ pfm_nhm_is_uncore()
Definition at line 1569 of file pfmlib_intel_nhm.c.
1570{
1572 return 0;
1573
1576
1578}
static unsigned int num_pe
#define PFMLIB_NHM_UNC_FIXED
#define PFMLIB_INITIALIZED()