Date: Fri, 1 Jun 2018 00:45:43 +0000 (UTC) From: Matt Macy <mmacy@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r334462 - head/lib/libpmc Message-ID: <201806010045.w510jhR4036295@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mmacy Date: Fri Jun 1 00:45:43 2018 New Revision: 334462 URL: https://svnweb.freebsd.org/changeset/base/334462 Log: libpmc/pmu: update aliases table Modified: head/lib/libpmc/libpmc_pmu_util.c (contents, props changed) Modified: head/lib/libpmc/libpmc_pmu_util.c ============================================================================== --- head/lib/libpmc/libpmc_pmu_util.c Fri Jun 1 00:30:55 2018 (r334461) +++ head/lib/libpmc/libpmc_pmu_util.c Fri Jun 1 00:45:43 2018 (r334462) @@ -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",
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806010045.w510jhR4036295>