|
PAPI 7.1.0.0
|

Go to the source code of this file.
Macros | |
| #define | _GNU_SOURCE /* for getline */ |
| #define | PCR_PRIV (0x1UL << 0) |
| #define | PCR_SYS_TRACE (0x1UL << 1) |
| #define | PCR_USER_TRACE (0x1UL << 2) |
| #define | PCR_S0_SHIFT 4 |
| #define | PCR_S0 (0x1fUL << PCR_S0_SHIFT) |
| #define | PCR_S1_SHIFT 11 |
| #define | PCR_S1 (0x1fUL << PCR_S1_SHIFT) |
| #define | PCR_N2_HYP_TRACE (0x1UL << 3) |
| #define | PCR_N2_TOE0 (0x1UL << 4) |
| #define | PCR_N2_TOE1 (0x1UL << 5) |
| #define | PCR_N2_SL0_SHIFT 14 |
| #define | PCR_N2_SL0 (0xf << PCR_N2_SL0_SHIFT) |
| #define | PCR_N2_MASK0_SHIFT 6 |
| #define | PCR_N2_MASK0 (0xff << PCR_N2_MASK0_SHIFT) |
| #define | PCR_N2_SL1_SHIFT 27 |
| #define | PCR_N2_SL1 (0xf << PCR_N2_SL1_SHIFT) |
| #define | PCR_N2_MASK1_SHIFT 19 |
| #define | PCR_N2_MASK1 (0xff << PCR_N2_MASK1_SHIFT) |
Functions | |
| static char * | get_event_name (int event) |
| static char * | get_event_desc (int event) |
| static char | get_ctrl (int event) |
| static int | get_val (int event) |
| static int | pfm_sparc_get_event_code (unsigned int event, unsigned int pmd, int *code) |
| static char * | pfm_sparc_get_event_name (unsigned int event) |
| static char * | pfm_sparc_get_event_mask_name (unsigned int event, unsigned int mask) |
| static void | pfm_sparc_get_event_counters (unsigned int event, pfmlib_regmask_t *counters) |
| static unsigned int | pfm_sparc_get_num_event_masks (unsigned int event) |
| static int | pfm_sparc_dispatch_events (pfmlib_input_param_t *input, void *model_input, pfmlib_output_param_t *output, void *model_output) |
| static int | pmu_name_to_pmu_type (char *name) |
| static int | pfm_sparc_pmu_detect (void) |
| static void | pfm_sparc_get_impl_pmcs (pfmlib_regmask_t *impl_pmcs) |
| static void | pfm_sparc_get_impl_pmds (pfmlib_regmask_t *impl_pmds) |
| static void | pfm_sparc_get_impl_counters (pfmlib_regmask_t *impl_counters) |
| static void | pfm_sparc_get_hw_counter_width (unsigned int *width) |
| static int | pfm_sparc_get_event_desc (unsigned int event, char **desc) |
| static int | pfm_sparc_get_event_mask_desc (unsigned int event, unsigned int mask, char **desc) |
| static int | pfm_sparc_get_event_mask_code (unsigned int event, unsigned int mask, unsigned int *code) |
| static int | pfm_sparc_get_cycle_event (pfmlib_event_t *e) |
| static int | pfm_sparc_get_inst_retired (pfmlib_event_t *e) |
Variables | |
| pfm_pmu_support_t | sparc_support |
| #define _GNU_SOURCE /* for getline */ |
Definition at line 32 of file pfmlib_sparc.c.
| #define PCR_N2_HYP_TRACE (0x1UL << 3) |
Definition at line 201 of file pfmlib_sparc.c.
| #define PCR_N2_MASK0 (0xff << PCR_N2_MASK0_SHIFT) |
Definition at line 207 of file pfmlib_sparc.c.
| #define PCR_N2_MASK0_SHIFT 6 |
Definition at line 206 of file pfmlib_sparc.c.
| #define PCR_N2_MASK1 (0xff << PCR_N2_MASK1_SHIFT) |
Definition at line 211 of file pfmlib_sparc.c.
| #define PCR_N2_MASK1_SHIFT 19 |
Definition at line 210 of file pfmlib_sparc.c.
| #define PCR_N2_SL0 (0xf << PCR_N2_SL0_SHIFT) |
Definition at line 205 of file pfmlib_sparc.c.
| #define PCR_N2_SL0_SHIFT 14 |
Definition at line 204 of file pfmlib_sparc.c.
| #define PCR_N2_SL1 (0xf << PCR_N2_SL1_SHIFT) |
Definition at line 209 of file pfmlib_sparc.c.
| #define PCR_N2_SL1_SHIFT 27 |
Definition at line 208 of file pfmlib_sparc.c.
| #define PCR_N2_TOE0 (0x1UL << 4) |
Definition at line 202 of file pfmlib_sparc.c.
| #define PCR_N2_TOE1 (0x1UL << 5) |
Definition at line 203 of file pfmlib_sparc.c.
| #define PCR_PRIV (0x1UL << 0) |
Definition at line 185 of file pfmlib_sparc.c.
| #define PCR_S0 (0x1fUL << PCR_S0_SHIFT) |
Definition at line 196 of file pfmlib_sparc.c.
| #define PCR_S0_SHIFT 4 |
Definition at line 195 of file pfmlib_sparc.c.
| #define PCR_S1 (0x1fUL << PCR_S1_SHIFT) |
Definition at line 198 of file pfmlib_sparc.c.
| #define PCR_S1_SHIFT 11 |
Definition at line 197 of file pfmlib_sparc.c.
| #define PCR_SYS_TRACE (0x1UL << 1) |
Definition at line 186 of file pfmlib_sparc.c.
| #define PCR_USER_TRACE (0x1UL << 2) |
Definition at line 187 of file pfmlib_sparc.c.
|
static |
Definition at line 94 of file pfmlib_sparc.c.

|
static |
Definition at line 73 of file pfmlib_sparc.c.

|
static |
Definition at line 52 of file pfmlib_sparc.c.

Definition at line 115 of file pfmlib_sparc.c.

|
static |
Definition at line 213 of file pfmlib_sparc.c.

|
static |
Definition at line 465 of file pfmlib_sparc.c.
|
static |
Definition at line 434 of file pfmlib_sparc.c.

|
static |
Definition at line 454 of file pfmlib_sparc.c.
|
static |
Definition at line 440 of file pfmlib_sparc.c.
Definition at line 149 of file pfmlib_sparc.c.
|
static |
|
static |
Definition at line 429 of file pfmlib_sparc.c.
|
static |
Definition at line 424 of file pfmlib_sparc.c.

|
static |
Definition at line 414 of file pfmlib_sparc.c.
|
static |
|
static |
Definition at line 486 of file pfmlib_sparc.c.
Definition at line 177 of file pfmlib_sparc.c.
|
static |
Definition at line 361 of file pfmlib_sparc.c.

|
static |
Definition at line 342 of file pfmlib_sparc.c.

| pfm_pmu_support_t sparc_support |
sparc_support
Definition at line 519 of file pfmlib_sparc.c.