diff options
| author | Matt Macy <mmacy@FreeBSD.org> | 2018-06-01 00:45:43 +0000 |
|---|---|---|
| committer | Matt Macy <mmacy@FreeBSD.org> | 2018-06-01 00:45:43 +0000 |
| commit | 96cbd26a246450fb19e1f1ee6df9f4ae836af57e (patch) | |
| tree | 939e0e2f4b03c1f45069be7e7ef6e41f82e01bd1 /lib | |
| parent | e92a1350b50edf504316434144bea3566cf8badc (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libpmc/libpmc_pmu_util.c | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/lib/libpmc/libpmc_pmu_util.c b/lib/libpmc/libpmc_pmu_util.c index 30565e9177d5..f929a8c8d591 100644 --- a/lib/libpmc/libpmc_pmu_util.c +++ b/lib/libpmc/libpmc_pmu_util.c @@ -60,21 +60,15 @@ static struct pmu_alias pmu_alias_table[] = { {"BRANCH-INSTRUCTION-RETIRED", "BR_INST_RETIRED.ALL_BRANCHES"}, {"BRANCH_MISSES_RETIRED", "BR_MISP_RETIRED.ALL_BRANCHES"}, {"BRANCH-MISSES-RETIRED", "BR_MISP_RETIRED.ALL_BRANCHES"}, + {"cycles", "tsc-tsc"}, + {"instructions", "inst-retired.any_p"}, + {"branch-mispredicts", "br_misp_retired.all_branches" }, + {"branches", "br_inst_retired.all_branches" }, + {"interrupts", "hw_interrupts.received"}, + {"ic-misses", "frontend_retired.l1i_miss"}, {NULL, NULL}, }; -#ifdef notyet -static struct pmc_event_alias core2_aliases_without_iaf[] = { - EV_ALIAS("branches", "iap-br-inst-retired.any"), - EV_ALIAS("branch-mispredicts", "iap-br-inst-retired.mispred"), - EV_ALIAS("cycles", "tsc-tsc"), - EV_ALIAS("ic-misses", "iap-l1i-misses"), - EV_ALIAS("instructions", "iap-inst-retired.any_p"), - EV_ALIAS("interrupts", "iap-hw-int-rcv"), - EV_ALIAS("unhalted-cycles", "iap-cpu-clk-unhalted.core_p"), - EV_ALIAS(NULL, NULL) -}; -#endif static const char *fixed_mode_cntrs[] = { "inst_retired.any", "cpu_clk_unhalted.thread", |
