svn commit: r320104 - stable/10/sys/dev/hwpmc
Andriy Gapon
avg at FreeBSD.org
Mon Jun 19 15:06:38 UTC 2017
Author: avg
Date: Mon Jun 19 15:06:37 2017
New Revision: 320104
URL: https://svnweb.freebsd.org/changeset/base/320104
Log:
MFC r279831: Fix pmc unit restrictions to match documentation
Modified:
stable/10/sys/dev/hwpmc/hwpmc_core.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/dev/hwpmc/hwpmc_core.c
==============================================================================
--- stable/10/sys/dev/hwpmc/hwpmc_core.c Mon Jun 19 15:04:39 2017 (r320103)
+++ stable/10/sys/dev/hwpmc/hwpmc_core.c Mon Jun 19 15:06:37 2017 (r320104)
@@ -1974,15 +1974,15 @@ iap_event_sb_sbx_ib_ibx_ok_on_counter(enum pmc_event p
break;
/* Events valid only on counter 1. */
case PMC_EV_IAP_EVENT_C0H_01H:
- mask = 0x1;
+ mask = 0x2;
break;
/* Events valid only on counter 2. */
case PMC_EV_IAP_EVENT_48H_01H:
case PMC_EV_IAP_EVENT_A2H_02H:
+ case PMC_EV_IAP_EVENT_A3H_08H:
mask = 0x4;
break;
/* Events valid only on counter 3. */
- case PMC_EV_IAP_EVENT_A3H_08H:
case PMC_EV_IAP_EVENT_BBH_01H:
case PMC_EV_IAP_EVENT_CDH_01H:
case PMC_EV_IAP_EVENT_CDH_02H:
More information about the svn-src-stable
mailing list