changeset 10742:98b03a712f28

6887680 floating pointing generic events missing on UltraSPARC T1/T2 based platforms
author Jonathan Haslam <Jonathan.Haslam@Sun.COM>
date Thu, 08 Oct 2009 09:47:38 +0100
parents 26a74e07a95b
children 9bd3b79547a5
files usr/src/uts/sun4v/pcbe/niagara2_pcbe.c usr/src/uts/sun4v/pcbe/niagara_pcbe.c
diffstat 2 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/sun4v/pcbe/niagara2_pcbe.c	Thu Oct 08 14:27:17 2009 +0800
+++ b/usr/src/uts/sun4v/pcbe/niagara2_pcbe.c	Thu Oct 08 09:47:38 2009 +0100
@@ -19,7 +19,7 @@
  * CDDL HEADER END
  */
 /*
- * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
@@ -210,6 +210,8 @@
 	{ "PAPI_br_ins",	"Br_completed" },
 	{ "PAPI_ld_ins",	"Instr_ld" },
 	{ "PAPI_sr_ins",	"Instr_st" },
+	{ "PAPI_fp_ops",	"Instr_FGU_arithmetic" },
+	{ "PAPI_fp_ins",	"Instr_FGU_arithmetic" },
 	GEN_EV_END
 };
 
--- a/usr/src/uts/sun4v/pcbe/niagara_pcbe.c	Thu Oct 08 14:27:17 2009 +0800
+++ b/usr/src/uts/sun4v/pcbe/niagara_pcbe.c	Thu Oct 08 09:47:38 2009 +0100
@@ -19,7 +19,7 @@
  * CDDL HEADER END
  */
 /*
- * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
@@ -170,6 +170,7 @@
 	{ "PAPI_l2_icm",	"L2_imiss" },
 	{ "PAPI_l2_ldm",	"L2_dmiss_ld" },
 	{ "PAPI_fp_ops",	"FP_instr_cnt" },
+	{ "PAPI_fp_ins",	"FP_instr_cnt" },
 	{ "PAPI_l1_icm",	"IC_miss" },
 	{ "PAPI_l1_dcm",	"DC_miss" },
 	{ "PAPI_tlb_im",	"ITLB_miss" },