ports/144508: Update port devel/papi

Harald Servat redcrash at gmail.com
Sat Mar 6 16:30:02 UTC 2010


>Number:         144508
>Category:       ports
>Synopsis:       Update port devel/papi
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 06 16:30:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Harald Servat
>Release:        7.1
>Organization:
>Environment:
>Description:
Attached there is a patch that adds a bit more of functionality in devel/papi port.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN papi/files/patch-freebsd__map-i7.c papi-orig/files/patch-freebsd__map-i7.c
--- papi/files/patch-freebsd__map-i7.c	2010-03-06 17:21:20.000000000 +0100
+++ papi-orig/files/patch-freebsd__map-i7.c	1970-01-01 01:00:00.000000000 +0100
@@ -1,36 +0,0 @@
-Index: papi/src/freebsd/map-i7.c
-diff -u papi/src/freebsd/map-i7.c:1.1.2.1 papi/src/freebsd/map-i7.c:1.1.2.2
---- papi/src/freebsd/map-i7.c:1.1.2.1	Sat Oct 31 06:16:53 2009
-+++ papi/src/freebsd/map-i7.c	Sat Mar  6 11:12:08 2010
-@@ -4,7 +4,7 @@
- 
- /* 
- * File:    map-i7.c
--* CVS:     $Id: map-i7.c,v 1.1.2.1 2009/10/31 10:16:53 servat Exp $
-+* CVS:     $Id: map-i7.c,v 1.1.2.2 2010/03/06 16:12:08 servat Exp $
- * Author:  George Neville-Neil
- *          gnn at freebsd.org
- *          Harald Servat
-@@ -327,6 +327,9 @@
- 	{"SIMD_INT_64.PACKED_LOGICAL", "Counts number of SID integer 64 bit logical operations."},
- 	{"SIMD_INT_64.PACKED_ARITH", "Counts number of SID integer 64 bit arithmetic operations."},
- 	{"SIMD_INT_64.SHUFFLE_MOVE", "Counts number of SID integer 64 bit shift or move operations."},
-+	{"INSTR_RETIRED_ANY", "Instructions retired (IAF)"},
-+	{"CPU_CLK_UNHALTED_CORE", "Unhalted core cycles (IAF)"},
-+	{"CPU_CLK_UNHALTED_REF", "Unhalted reference cycles (IAF)"},
- 	{ NULL, NULL } 
- };
- 
-@@ -334,8 +337,12 @@
- hwi_search_t i7Processor_map[] = {
- 	{PAPI_BR_INS, {0, {PNE_I7_BR_INST_RETIRED_ALL_BRANCHES, PAPI_NULL}, {0,}}},
- 	{PAPI_RES_STL, {0, {PNE_I7_RESOURCE_STALLS_ANY, PAPI_NULL}, {0,}}},
-+/*
- 	{PAPI_TOT_CYC, {0, {PNE_I7_CPU_CLK_UNHALTED_REF_P, PAPI_NULL}, {0,}}},
- 	{PAPI_TOT_INS, {0, {PNE_I7_INST_RETIRED_ANY_P, PAPI_NULL}, {0,}}},
-+*/
-+	{PAPI_TOT_CYC, {0, {PNE_I7_CPU_CLK_UNHALTED_CORE, PAPI_NULL}, {0,}}},
-+	{PAPI_TOT_INS, {0, {PNE_I7_INSTR_RETIRED_ANY, PAPI_NULL}, {0,}}},
- 	{PAPI_HW_INT, {0, {PNE_I7_HW_INT_RCV, PAPI_NULL}, {0,}}},
- 	{PAPI_BR_TKN, {0, {PNE_I7_BR_MISP_EXEC_TAKEN, PAPI_NULL}, {0,}}},
- 	{PAPI_BR_MSP, {0, {PNE_I7_BR_MISP_EXEC_ANY, PAPI_NULL}, {0,}}},
diff -ruN papi/files/patch-freebsd__map-i7.h papi-orig/files/patch-freebsd__map-i7.h
--- papi/files/patch-freebsd__map-i7.h	2010-03-06 17:21:30.000000000 +0100
+++ papi-orig/files/patch-freebsd__map-i7.h	1970-01-01 01:00:00.000000000 +0100
@@ -1,23 +0,0 @@
-Index: papi/src/freebsd/map-i7.h
-diff -u papi/src/freebsd/map-i7.h:1.1.2.1 papi/src/freebsd/map-i7.h:1.1.2.2
---- papi/src/freebsd/map-i7.h:1.1.2.1	Sat Oct 31 06:16:53 2009
-+++ papi/src/freebsd/map-i7.h	Sat Mar  6 11:12:08 2010
-@@ -4,7 +4,7 @@
- 
- /* 
- * File:    map-i7.h
--* CVS:     $Id: map-i7.h,v 1.1.2.1 2009/10/31 10:16:53 servat Exp $
-+* CVS:     $Id: map-i7.h,v 1.1.2.2 2010/03/06 16:12:08 servat Exp $
- * Author:  George Neville-Neil
- *          gnn at freebsd.org
- */
-@@ -310,6 +310,9 @@
- 	PNE_I7_SIMD_INT_64_PACKED_LOGICAL,
- 	PNE_I7_SIMD_INT_64_PACKED_ARITH,
- 	PNE_I7_SIMD_INT_64_SHUFFLE_MOVE,
-+	PNE_I7_INSTR_RETIRED_ANY,
-+	PNE_I7_CPU_CLK_UNHALTED_CORE,
-+	PNE_I7_CPU_CLK_UNHALTED_REF,
- 	PNE_I7_NATNAME_GUARD
- };
- 


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list