Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Nov 2012 00:30:25 +0000 (UTC)
From:      Sean Bruno <sbruno@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r242685 - in stable/9: lib/libpmc sys/dev/hwpmc
Message-ID:  <201211070030.qA70UPYu001396@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sbruno
Date: Wed Nov  7 00:30:25 2012
New Revision: 242685
URL: http://svnweb.freebsd.org/changeset/base/242685

Log:
  MFC r241974
  
  Cleanup and rename some variables in libpmc and hwpmc.
  
  Testing MFC of merge to root of stable/9 with peter@ lurking.

Modified:
  stable/9/lib/libpmc/libpmc.c
  stable/9/lib/libpmc/pmc.ivybridge.3
  stable/9/lib/libpmc/pmc.sandybridge.3
  stable/9/lib/libpmc/pmc.sandybridgexeon.3
  stable/9/sys/dev/hwpmc/pmc_events.h
Directory Properties:
  stable/9/   (props changed)
  stable/9/lib/   (props changed)
  stable/9/lib/libpmc/   (props changed)
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/lib/libpmc/libpmc.c
==============================================================================
--- stable/9/lib/libpmc/libpmc.c	Wed Nov  7 00:23:51 2012	(r242684)
+++ stable/9/lib/libpmc/libpmc.c	Wed Nov  7 00:30:25 2012	(r242685)
@@ -718,7 +718,7 @@ static struct pmc_masks iap_rsp_mask_sb_
 	PMCMASK(RES_SUPPLIER_LLC_HITS,	(1ULL << 20)),
 	PMCMASK(RES_SUPPLIER_LLC_HITF,	(1ULL << 21)),
 	PMCMASK(RES_SUPPLIER_LOCAL,	(1ULL << 22)),
-	PMCMASK(RES_SNOOP_SNPI_NONE,	(1ULL << 31)),
+	PMCMASK(RES_SNOOP_SNP_NONE,	(1ULL << 31)),
 	PMCMASK(RES_SNOOP_SNP_NO_NEEDED,(1ULL << 32)),
 	PMCMASK(RES_SNOOP_SNP_MISS,	(1ULL << 33)),
 	PMCMASK(RES_SNOOP_HIT_NO_FWD,	(1ULL << 34)),

Modified: stable/9/lib/libpmc/pmc.ivybridge.3
==============================================================================
--- stable/9/lib/libpmc/pmc.ivybridge.3	Wed Nov  7 00:23:51 2012	(r242684)
+++ stable/9/lib/libpmc/pmc.ivybridge.3	Wed Nov  7 00:30:25 2012	(r242685)
@@ -135,7 +135,7 @@ S-state.
 F-state.
 .It Li RES_SUPPLIER_LOCAL
 Local DRAM Controller.
-.It Li RES_SNOOP_SNPI_NONE
+.It Li RES_SNOOP_SNP_NONE
 No details on snoop-related information.
 .It Li RES_SNOOP_SNP_NO_NEEDED
 No snoop was needed to satisfy the request.

Modified: stable/9/lib/libpmc/pmc.sandybridge.3
==============================================================================
--- stable/9/lib/libpmc/pmc.sandybridge.3	Wed Nov  7 00:23:51 2012	(r242684)
+++ stable/9/lib/libpmc/pmc.sandybridge.3	Wed Nov  7 00:30:25 2012	(r242685)
@@ -138,7 +138,7 @@ S-state.
 F-state.
 .It Li RES_SUPPLIER_LOCAL
 Local DRAM Controller.
-.It Li RES_SNOOP_SNPI_NONE
+.It Li RES_SNOOP_SNP_NONE
 No details on snoop-related information.
 .It Li RES_SNOOP_SNP_NO_NEEDED
 No snoop was needed to satisfy the request.

Modified: stable/9/lib/libpmc/pmc.sandybridgexeon.3
==============================================================================
--- stable/9/lib/libpmc/pmc.sandybridgexeon.3	Wed Nov  7 00:23:51 2012	(r242684)
+++ stable/9/lib/libpmc/pmc.sandybridgexeon.3	Wed Nov  7 00:30:25 2012	(r242685)
@@ -135,7 +135,7 @@ S-state.
 F-state.
 .It Li RES_SUPPLIER_LOCAL
 Local DRAM Controller.
-.It Li RES_SNOOP_SNPI_NONE
+.It Li RES_SNOOP_SNP_NONE
 No details on snoop-related information.
 .It Li RES_SNOOP_SNP_NO_NEEDED
 No snoop was needed to satisfy the request.

Modified: stable/9/sys/dev/hwpmc/pmc_events.h
==============================================================================
--- stable/9/sys/dev/hwpmc/pmc_events.h	Wed Nov  7 00:23:51 2012	(r242684)
+++ stable/9/sys/dev/hwpmc/pmc_events.h	Wed Nov  7 00:30:25 2012	(r242685)
@@ -2640,7 +2640,7 @@ __PMC_EV_ALIAS("DTLB_STORE_MISSES.WALK_C
 __PMC_EV_ALIAS("DTLB_STORE_MISSES.WALK_DURATION", IAP_EVENT_49H_04H)		\
 __PMC_EV_ALIAS("DTLB_STORE_MISSES.STLB_HIT", IAP_EVENT_49H_10H)			\
 __PMC_EV_ALIAS("LOAD_HIT_PRE.SW_PF", IAP_EVENT_4CH_01H)				\
-__PMC_EV_ALIAS("LOAD_HIT_PER.HW_PF", IAP_EVENT_4CH_02H)				\
+__PMC_EV_ALIAS("LOAD_HIT_PRE.HW_PF", IAP_EVENT_4CH_02H)				\
 __PMC_EV_ALIAS("HW_PRE_REQ.DL1_MISS", IAP_EVENT_4EH_02H)			\
 __PMC_EV_ALIAS("L1D.REPLACEMENT", IAP_EVENT_51H_01H)				\
 __PMC_EV_ALIAS("L1D.ALLOCATED_IN_M", IAP_EVENT_51H_02H)				\
@@ -2777,7 +2777,7 @@ __PMC_EV_ALIAS("MEM_LOAD_UOPS_LLC_HIT_RE
 __PMC_EV_ALIAS("MEM_LOAD_UOPS_LLC_HIT_RETIRED.XSNP_NONE", IAP_EVENT_D2H_08H)	\
 __PMC_EV_ALIAS("MEM_LOAD_UOPS_LLC_HIT_RETIRED.LLC_MISS", IAP_EVENT_D4H_02H)	\
 __PMC_EV_ALIAS("L2_TRANS.DEMAND_DATA_RD", IAP_EVENT_F0H_01H)			\
-__PMC_EV_ALIAS("L2_TRANS.RF0", IAP_EVENT_F0H_02H)				\
+__PMC_EV_ALIAS("L2_TRANS.RFO", IAP_EVENT_F0H_02H)				\
 __PMC_EV_ALIAS("L2_TRANS.CODE_RD", IAP_EVENT_F0H_04H)				\
 __PMC_EV_ALIAS("L2_TRANS.ALL_PF", IAP_EVENT_F0H_08H)				\
 __PMC_EV_ALIAS("L2_TRANS.L1D_WB", IAP_EVENT_F0H_10H)				\
@@ -2787,7 +2787,7 @@ __PMC_EV_ALIAS("L2_TRANS.ALL_REQUESTS", 
 __PMC_EV_ALIAS("L2_LINES_IN.I", IAP_EVENT_F1H_01H)				\
 __PMC_EV_ALIAS("L2_LINES_IN.S", IAP_EVENT_F1H_02H)				\
 __PMC_EV_ALIAS("L2_LINES_IN.E", IAP_EVENT_F1H_04H)				\
-__PMC_EV_ALIAS("L2_LINES-IN.ALL", IAP_EVENT_F1H_07H)				\
+__PMC_EV_ALIAS("L2_LINES_IN.ALL", IAP_EVENT_F1H_07H)				\
 __PMC_EV_ALIAS("L2_LINES_OUT.DEMAND_CLEAN", IAP_EVENT_F2H_01H)			\
 __PMC_EV_ALIAS("L2_LINES_OUT.DEMAND_DIRTY", IAP_EVENT_F2H_02H)			\
 __PMC_EV_ALIAS("L2_LINES_OUT.PF_CLEAN", IAP_EVENT_F2H_04H)			\
@@ -2855,7 +2855,7 @@ __PMC_EV_ALIAS("DTLB_STORE_MISSES.WALK_C
 __PMC_EV_ALIAS("DTLB_STORE_MISSES.WALK_DURATION", IAP_EVENT_49H_04H)          	\
 __PMC_EV_ALIAS("DTLB_STORE_MISSES.STLB_HIT", IAP_EVENT_49H_10H)			\
 __PMC_EV_ALIAS("LOAD_HIT_PRE.SW_PF", IAP_EVENT_4CH_01H)				\
-__PMC_EV_ALIAS("LOAD_HIT_PER.HW_PF", IAP_EVENT_4CH_02H)				\
+__PMC_EV_ALIAS("LOAD_HIT_PRE.HW_PF", IAP_EVENT_4CH_02H)				\
 __PMC_EV_ALIAS("HW_PRE_REQ.DL1_MISS", IAP_EVENT_4EH_02H)			\
 __PMC_EV_ALIAS("L1D.REPLACEMENT", IAP_EVENT_51H_01H)                          	\
 __PMC_EV_ALIAS("L1D.ALLOCATED_IN_M", IAP_EVENT_51H_02H)                         \
@@ -3005,7 +3005,7 @@ __PMC_EV_ALIAS("L2_TRANS.ALL_REQUESTS", 
 __PMC_EV_ALIAS("L2_LINES_IN.I", IAP_EVENT_F1H_01H)                            	\
 __PMC_EV_ALIAS("L2_LINES_IN.S", IAP_EVENT_F1H_02H)                            	\
 __PMC_EV_ALIAS("L2_LINES_IN.E", IAP_EVENT_F1H_04H)                            	\
-__PMC_EV_ALIAS("L2_LINES-IN.ALL", IAP_EVENT_F1H_07H)                          	\
+__PMC_EV_ALIAS("L2_LINES_IN.ALL", IAP_EVENT_F1H_07H)                          	\
 __PMC_EV_ALIAS("L2_LINES_OUT.DEMAND_CLEAN", IAP_EVENT_F2H_01H)                  \
 __PMC_EV_ALIAS("L2_LINES_OUT.DEMAND_DIRTY", IAP_EVENT_F2H_02H)                  \
 __PMC_EV_ALIAS("L2_LINES_OUT.PF_CLEAN", IAP_EVENT_F2H_04H)                    	\



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