From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Mar 6 16:30:02 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1841D1065672 for ; Sat, 6 Mar 2010 16:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CD31A8FC13 for ; Sat, 6 Mar 2010 16:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o26GU1E6026329 for ; Sat, 6 Mar 2010 16:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o26GU1aw026328; Sat, 6 Mar 2010 16:30:01 GMT (envelope-from gnats) Resent-Date: Sat, 6 Mar 2010 16:30:01 GMT Resent-Message-Id: <201003061630.o26GU1aw026328@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Harald Servat Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D4881065670 for ; Sat, 6 Mar 2010 16:26:46 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id E68CA8FC13 for ; Sat, 6 Mar 2010 16:26:45 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o26GQjg5091129 for ; Sat, 6 Mar 2010 16:26:45 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o26GQjhD091128; Sat, 6 Mar 2010 16:26:45 GMT (envelope-from nobody) Message-Id: <201003061626.o26GQjhD091128@www.freebsd.org> Date: Sat, 6 Mar 2010 16:26:45 GMT From: Harald Servat To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/144508: Update port devel/papi X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2010 16:30:02 -0000 >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@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@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: