svn commit: r283121 - head/sys/dev/hwpmc

John Baldwin jhb at FreeBSD.org
Tue May 19 19:01:23 UTC 2015


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


More information about the svn-src-all mailing list