Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 May 2015 19:01:22 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r283121 - head/sys/dev/hwpmc
Message-ID:  <201505191901.t4JJ1MOd020818@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Tue May 19 19:01:22 2015
New Revision: 283121
URL: https://svnweb.freebsd.org/changeset/base/283121

Log:
  Use the proper mask when reloading sampling PMCs for Core CPUs.
  
  Differential Revision:	https://reviews.freebsd.org/D2492
  Reviewed by:	emaste
  MFC after:	1 month

Modified:
  head/sys/dev/hwpmc/hwpmc_core.c

Modified: head/sys/dev/hwpmc/hwpmc_core.c
==============================================================================
--- head/sys/dev/hwpmc/hwpmc_core.c	Tue May 19 18:58:18 2015	(r283120)
+++ head/sys/dev/hwpmc/hwpmc_core.c	Tue May 19 19:01:22 2015	(r283121)
@@ -2588,7 +2588,7 @@ core_intr(int cpu, struct trapframe *tf)
 		    TRAPF_USERMODE(tf));
 
 		v = pm->pm_sc.pm_reloadcount;
-		v = iaf_reload_count_to_perfctr_value(v);
+		v = iap_reload_count_to_perfctr_value(v);
 
 		/*
 		 * Stop the counter, reload it but only restart it if



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