svn commit: r334638 - head/lib/libpmc

Matt Macy mmacy at FreeBSD.org
Mon Jun 4 21:17:43 UTC 2018


Author: mmacy
Date: Mon Jun  4 21:17:42 2018
New Revision: 334638
URL: https://svnweb.freebsd.org/changeset/base/334638

Log:
  libpmc / stat: use westmere supported counter

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	Mon Jun  4 21:17:30 2018	(r334637)
+++ head/lib/libpmc/libpmc_pmu_util.c	Mon Jun  4 21:17:42 2018	(r334638)
@@ -410,7 +410,7 @@ pmc_pmu_pmcallocate(const char *event_name, struct pmc
  * Ultimately rely on AMD calling theirs the same
  */
 static const char *stat_mode_cntrs[] = {
-	"cpu_clk_unhalted.thread_any",
+	"cpu_clk_unhalted.thread",
 	"inst_retired.any",
 	"br_inst_retired.all_branches",
 	"br_misp_retired.all_branches",


More information about the svn-src-all mailing list