Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jun 2018 21:17:42 +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: r334638 - head/lib/libpmc
Message-ID:  <201806042117.w54LHgq1084428@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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",



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806042117.w54LHgq1084428>