View | Details | Raw Unified | Return to bug 208912 | Differences between
and this patch

Collapse All | Expand All

(-)devel/papi/Makefile (-4 / +6 lines)
Lines 6-17 PORTVERSION= 5.4.3 Link Here
6
CATEGORIES=	devel
6
CATEGORIES=	devel
7
MASTER_SITES=	http://icl.cs.utk.edu/projects/papi/downloads/
7
MASTER_SITES=	http://icl.cs.utk.edu/projects/papi/downloads/
8
8
9
MAINTAINER=	ports@FreeBSD.org
9
MAINTAINER=	luca.pizzamiglio@gmail.com
10
COMMENT=	API to access the performance counter hw in the microprocessor
10
COMMENT=	API to access the performance counter hw in the microprocessor
11
11
12
LICENSE=	BSD3CLAUSE
12
LICENSE=	BSD3CLAUSE
13
LICENSE_FILE=	${WRKDIR}/${PORTNAME}-${PORTVERSION}/LICENSE.txt
13
LICENSE_FILE=	${WRKDIR}/${PORTNAME}-${PORTVERSION}/LICENSE.txt
14
14
15
TEST_TARGET=	fulltest
16
15
ONLY_FOR_ARCHS=	i386 amd64
17
ONLY_FOR_ARCHS=	i386 amd64
16
ONLY_FOR_ARCHS_REASON=	HWPMC kernel module is only available for I386 and \
18
ONLY_FOR_ARCHS_REASON=	HWPMC kernel module is only available for I386 and \
17
			AMD64 machines
19
			AMD64 machines
Lines 19-25 NO_PACKAGE= Needs to be compiled for specific CPU Link Here
19
21
20
STRIP=		# empty
22
STRIP=		# empty
21
USE_LDCONFIG=	yes
23
USE_LDCONFIG=	yes
22
USES=		gmake pkgconfig
24
USES=		fortran gmake pkgconfig
23
GNU_CONFIGURE=	yes
25
GNU_CONFIGURE=	yes
24
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
26
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
25
WRKMAN=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/man
27
WRKMAN=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/man
Lines 35-45 DEBUGINFO_CONFIGURE_WITH= debug Link Here
35
37
36
.include <bsd.port.options.mk>
38
.include <bsd.port.options.mk>
37
39
38
HAS_HWPMC!=	${SYSCTL} kern.hwpmc.nsamples >/dev/null 2>&1 && echo yes || ${ECHO_CMD}
40
HAS_HWPMC!=	${SYSCTL} kern.hwpmc.nsamples >/dev/null 2>&1 && ${ECHO_CMD} yes || ${ECHO_CMD}
39
41
40
.if ${HAS_HWPMC} != yes
42
.if ${HAS_HWPMC} != yes
41
IGNORE=		needs hwpmc module loaded or compiled into the kernel. \
43
IGNORE=		needs hwpmc module loaded or compiled into the kernel. \
42
		Please consult hwpmc(4) on how to do it (or cat pkg-message)
44
		Please consult hwpmc(4) on how to do it (or read pkg-message)
43
.endif
45
.endif
44
46
45
post-patch:
47
post-patch:
(-)devel/papi/files/patch-freebsd-map-k8.c (+186 lines)
Added Link Here
1
--- freebsd/map-k8.c.orig	2016-01-26 16:59:11 UTC
2
+++ freebsd/map-k8.c
3
@@ -27,95 +27,95 @@
4
 
5
 Native_Event_LabelDescription_t K8Processor_info[] =
6
 {
7
-	{ "k8-bu-cpu-clk-unhalted", "Count the number of clock cycles when the CPU is not in the HLT or STPCLCK states" },
8
-	{ "k8-bu-fill-request-l2-miss", "Count fill requests that missed in the L2 cache."},
9
-	{ "k8-bu-internal-l2-request", "Count internally generated requests to the L2 cache." },
10
-	{ "k8-dc-access", "Count data cache accesses including microcode scratchpad accesses."},
11
-	{ "k8-dc-copyback", "Count data cache copyback operations."},
12
-	{ "k8-dc-dcache-accesses-by-locks", "Count data cache accesses by lock instructions." },
13
-	{ "k8-dc-dispatched-prefetch-instructions", "Count the number of dispatched prefetch instructions." },
14
-	{ "k8-dc-l1-dtlb-miss-and-l2-dtlb-hit", "Count L1 DTLB misses that are L2 DTLB hits." },
15
-	{ "k8-dc-l1-dtlb-miss-and-l2-dtlb-miss", "Count L1 DTLB misses that are also misses in the L2 DTLB." },
16
-	{ "k8-dc-microarchitectural-early-cancel-of-an-access", "Count microarchitectural early cancels of data cache accesses." },
17
-	{ "k8-dc-microarchitectural-late-cancel-of-an-access", "Count microarchitectural late cancels of data cache accesses." },
18
-	{ "k8-dc-misaligned-data-reference", "Count misaligned data references." },
19
-	{ "k8-dc-miss", "Count data cache misses."},
20
-	{ "k8-dc-one-bit-ecc-error", "Count one bit ECC errors found by the scrubber." },
21
-	{ "k8-dc-refill-from-l2", "Count data cache refills from L2 cache." },
22
-	{ "k8-dc-refill-from-system", "Count data cache refills from system memory." },
23
-	{ "k8-fp-dispatched-fpu-ops", "Count the number of dispatched FPU ops." },
24
-	{ "k8-fp-cycles-with-no-fpu-ops-retired", "Count cycles when no FPU ops were retired." },
25
-	{ "k8-fp-dispatched-fpu-fast-flag-ops", "Count dispatched FPU ops that use the fast flag interface." },
26
-	{ "k8-fr-decoder-empty", "Count cycles when there was nothing to dispatch." },
27
-	{ "k8-fr-dispatch-stalls", "Count all dispatch stalls." },
28
-	{ "k8-fr-dispatch-stall-for-segment-load", "Count dispatch stalls for segment loads." },
29
-	{ "k8-fr-dispatch-stall-for-serialization", "Count dispatch stalls for serialization." },
30
-	{ "k8-fr-dispatch-stall-from-branch-abort-to-retire", "Count dispatch stalls from branch abort to retiral." },
31
-	{ "k8-fr-dispatch-stall-when-fpu-is-full", "Count dispatch stalls when the FPU is full." },
32
-	{ "k8-fr-dispatch-stall-when-ls-is-full", "Count dispatch stalls when the load/store unit is full." },
33
-	{ "k8-fr-dispatch-stall-when-reorder-buffer-is-full", "Count dispatch stalls when the reorder buffer is full." },
34
-	{ "k8-fr-dispatch-stall-when-reservation-stations-are-full", "Count dispatch stalls when reservation stations are full." },
35
-	{ "k8-fr-dispatch-stall-when-waiting-for-all-to-be-quiet", "Count dispatch stalls when waiting for all to be quiet." },
36
-	{ "k8-fr-dispatch-stall-when-waiting-far-xfer-or-resync-branch-pending", "Count dispatch stalls when a far control transfer or a resync branch is pending." },
37
-	{ "k8-fr-fpu-exceptions", "Count FPU exceptions." },
38
-	{ "k8-fr-interrupts-masked-cycles", "Count cycles when interrupts were masked." },
39
-	{ "k8-fr-interrupts-masked-while-pending-cycles", "Count cycles while interrupts were masked while pending" },
40
-	{ "k8-fr-number-of-breakpoints-for-dr0", "Count the number of breakpoints for DR0." },
41
-	{ "k8-fr-number-of-breakpoints-for-dr1", "Count the number of breakpoints for DR1." },
42
-	{ "k8-fr-number-of-breakpoints-for-dr2", "Count the number of breakpoints for DR2." },
43
-	{ "k8-fr-number-of-breakpoints-for-dr3", "Count the number of breakpoints for DR3." },
44
-	{ "k8-fr-retired-branches", "Count retired branches including exceptions and interrupts." },
45
-	{ "k8-fr-retired-branches-mispredicted", "Count mispredicted retired branches." },
46
-	{ "k8-fr-retired-far-control-transfers", "Count retired far control transfers" },
47
-	{ "k8-fr-retired-fastpath-double-op-instructions", "Count retired fastpath double op instructions." },
48
-	{ "k8-fr-retired-fpu-instructions", "Count retired FPU instructions." },
49
-	{ "k8-fr-retired-near-returns", "Count retired near returns." },
50
-	{ "k8-fr-retired-near-returns-mispredicted", "Count mispredicted near returns." },
51
-	{ "k8-fr-retired-resyncs", "Count retired resyncs" },
52
-	{ "k8-fr-retired-taken-hardware-interrupts", "Count retired taken hardware interrupts."},
53
-	{ "k8-fr-retired-taken-branches", "Count retired taken branches." },
54
-	{ "k8-fr-retired-taken-branches-mispredicted", "Count retired taken branches that were mispredicted." },
55
-	{ "k8-fr-retired-taken-branches-mispredicted-by-addr-miscompare", "Count retired taken branches that were mispredicted only due to an address miscompare." },
56
-	{ "k8-fr-retired-uops", "Count retired uops." },
57
-	{ "k8-fr-retired-x86-instructions", "Count retired x86 instructions including exceptions and interrupts"},
58
-	{ "k8-ic-fetch", "Count instruction cache fetches." },
59
-	{ "k8-ic-instruction-fetch-stall", "Count cycles in stalls due to instruction fetch." },
60
-	{ "k8-ic-l1-itlb-miss-and-l2-itlb-hit", "Count L1 ITLB misses that are L2 ITLB hits." },
61
-	{ "k8-ic-l1-itlb-miss-and-l2-itlb-miss", "Count ITLB misses that miss in both L1 and L2 ITLBs." },
62
-	{ "k8-ic-microarchitectural-resync-by-snoop", "Count microarchitectural resyncs caused by snoops." },
63
-	{ "k8-ic-miss", "Count instruction cache misses." },
64
-	{ "k8-ic-refill-from-l2", "Count instruction cache refills from L2 cache." },
65
-	{ "k8-ic-refill-from-system", "Count instruction cache refills from system memory." },
66
-	{ "k8-ic-return-stack-hits", "Count hits to the return stack." },
67
-	{ "k8-ic-return-stack-overflow", "Count overflows of the return stack." },
68
-	{ "k8-ls-buffer2-full", "Count load/store buffer2 full events." },
69
-	{ "k8-ls-locked-operation", "Count locked operations." },
70
-	{ "k8-ls-microarchitectural-late-cancel", "Count microarchitectural late cancels of operations in the load/store unit" },
71
-	{ "k8-ls-microarchitectural-resync-by-self-modifying-code", "Count microarchitectural resyncs caused by self-modifying code." },
72
-	{ "k8-ls-microarchitectural-resync-by-snoop", "Count microarchitectural resyncs caused by snoops." },
73
-	{ "k8-ls-retired-cflush-instructions", "Count retired CFLUSH instructions." },
74
-	{ "k8-ls-retired-cpuid-instructions", "Count retired CPUID instructions." },
75
-	{ "k8-ls-segment-register-load", "Count segment register loads." },
76
-	{ "k8-nb-memory-controller-bypass-saturation", "Count memory controller bypass counter saturation events." },
77
-	{ "k8-nb-memory-controller-dram-slots-missed", "Count memory controller DRAM command slots missed (in MemClks)." },
78
-	{ "k8-nb-memory-controller-page-access-event", "Count memory controller page access events." },
79
-	{ "k8-nb-memory-controller-page-table-overflow", "Count memory control page table overflow events." },
80
-	{ "k8-nb-probe-result", "Count probe events." },
81
-	{ "k8-nb-sized-commands", "Count sized commands issued." },
82
-	{ "k8-nb-memory-controller-turnaround", "Count memory control turnaround events." },
83
-	{ "k8-nb-ht-bus0-bandwidth", "Count events on the HyperTransport(tm) bus #0" },
84
-	{ "k8-nb-ht-bus1-bandwidth", "Count events on the HyperTransport(tm) bus #1" },
85
-	{ "k8-nb-ht-bus2-bandwidth", "Count events on the HyperTransport(tm) bus #2" },
86
+	{ "BU_CPU_CLK_UNHALTED", "Count the number of clock cycles when the CPU is not in the HLT or STPCLCK states" },
87
+	{ "BU_FILL_REQUEST_L2_MISS", "Count fill requests that missed in the L2 cache."},
88
+	{ "BU_INTERNAL_L2_REQUEST", "Count internally generated requests to the L2 cache." },
89
+	{ "DC_ACCESS", "Count data cache accesses including microcode scratchpad accesses."},
90
+	{ "DC_COPYBACK", "Count data cache copyback operations."},
91
+	{ "DC_DCACHE_ACCESSES_BY_LOCKS", "Count data cache accesses by lock instructions." },
92
+	{ "DC_DISPATCHED_PREFETCH_INSTRUCTIONS", "Count the number of dispatched prefetch instructions." },
93
+	{ "DC_L1_DTLB_MISS_AND_L2_DTLB_HIT", "Count L1 DTLB misses that are L2 DTLB hits." },
94
+	{ "DC_L1_DTLB_MISS_AND_L2_DTLB_MISS", "Count L1 DTLB misses that are also misses in the L2 DTLB." },
95
+	{ "DC_MICROARCHITECTURAL_EARLY_CANCEL", "Count microarchitectural early cancels of data cache accesses." },
96
+	{ "DC_MICROARCHITECTURAL_LATE_CANCEL", "Count microarchitectural late cancels of data cache accesses." },
97
+	{ "DC_MISALIGNED_DATA_REFERENCE", "Count misaligned data references." },
98
+	{ "DC_MISS", "Count data cache misses."},
99
+	{ "DC_ONE_BIT_ECC_ERROR", "Count one bit ECC errors found by the scrubber." },
100
+	{ "DC_REFILL_FROM_L2", "Count data cache refills from L2 cache." },
101
+	{ "DC_REFILL_FROM_SYSTEM", "Count data cache refills from system memory." },
102
+	{ "FP_DISPATCHED_FPU_OPS", "Count the number of dispatched FPU ops." },
103
+	{ "FP_CYCLES_WITH_NO_FPU_OPS_RETIRED", "Count cycles when no FPU ops were retired." },
104
+	{ "FP_DISPATCHED_FPU_FAST_FLAG_OPS", "Count dispatched FPU ops that use the fast flag interface." },
105
+	{ "FR_DECODER_EMPTY", "Count cycles when there was nothing to dispatch." },
106
+	{ "FR_DISPATCH_STALLS", "Count all dispatch stalls." },
107
+	{ "FR_DISPATCH_STALL_FOR_SEGMENT_LOAD", "Count dispatch stalls for segment loads." },
108
+	{ "FR_DISPATCH_STALL_FOR_SERIALIZATION", "Count dispatch stalls for serialization." },
109
+	{ "FR_DISPATCH_STALL_FROM_BRANCH_ABORT_TO_RETIRE", "Count dispatch stalls from branch abort to retiral." },
110
+	{ "FR_DISPATCH_STALL_WHEN_FPU_IS_FULL", "Count dispatch stalls when the FPU is full." },
111
+	{ "FR_DISPATCH_STALL_WHEN_LS_IS_FULL", "Count dispatch stalls when the load/store unit is full." },
112
+	{ "FR_DISPATCH_STALL_WHEN_REORDER_BUFFER_IS_FULL", "Count dispatch stalls when the reorder buffer is full." },
113
+	{ "FR_DISPATCH_STALL_WHEN_RESERVATION_STATIONS_ARE_FULL", "Count dispatch stalls when reservation stations are full." },
114
+	{ "FR_DISPATCH_STALL_WHEN_WAITING_FOR_ALL_TO_BE_QUIET", "Count dispatch stalls when waiting for all to be quiet." },
115
+	{ "FR_DISPATCH_STALL_WHEN_FAR_XFER_OR_RESYNC_BRANCH_PENDING", "Count dispatch stalls when a far control transfer or a resync branch is pending." },
116
+	{ "FR_FPU_EXCEPTIONS", "Count FPU exceptions." },
117
+	{ "FR_INTERRUPTS_MASKED_CYCLES", "Count cycles when interrupts were masked." },
118
+	{ "FR_INTERRUPTS_MASKED_WHILE_PENDING_CYCLES", "Count cycles while interrupts were masked while pending" },
119
+	{ "FR_NUMBER_OF_BREAKPOINTS_FOR_DR0", "Count the number of breakpoints for DR0." },
120
+	{ "FR_NUMBER_OF_BREAKPOINTS_FOR_DR1", "Count the number of breakpoints for DR1." },
121
+	{ "FR_NUMBER_OF_BREAKPOINTS_FOR_DR2", "Count the number of breakpoints for DR2." },
122
+	{ "FR_NUMBER_OF_BREAKPOINTS_FOR_DR3", "Count the number of breakpoints for DR3." },
123
+	{ "FR_RETIRED_BRANCHES", "Count retired branches including exceptions and interrupts." },
124
+	{ "FR_RETIRED_BRANCHES_MISPREDICTED", "Count mispredicted retired branches." },
125
+	{ "FR_RETIRED_FAR_CONTROL_TRANSFERS", "Count retired far control transfers" },
126
+	{ "FR_RETIRED_FASTPATH_DOUBLE_OP_INSTRUCTIONS", "Count retired fastpath double op instructions." },
127
+	{ "FR_RETIRED_FPU_INSTRUCTIONS", "Count retired FPU instructions." },
128
+	{ "FR_RETIRED_NEAR_RETURNS", "Count retired near returns." },
129
+	{ "FR_RETIRED_NEAR_RETURNS_MISPREDICTED", "Count mispredicted near returns." },
130
+	{ "FR_RETIRED_RESYNCS", "Count retired resyncs" },
131
+	{ "FR_TAKEN_HARDWARE_INTERRUPTS", "Count retired taken hardware interrupts."},
132
+	{ "FR_RETIRED_TAKEN_BRANCHES", "Count retired taken branches." },
133
+	{ "FR_RETIRED_TAKEN_BRANCHES_MISPREDICTED", "Count retired taken branches that were mispredicted." },
134
+	{ "FR_RETIRED_TAKEN_BRANCHES_MISPREDICTED_BY_ADDR_MISCOMPARE", "Count retired taken branches that were mispredicted only due to an address miscompare." },
135
+	{ "FR_RETIRED_UOPS", "Count retired uops." },
136
+	{ "FR_RETIRED_X86_INSTRUCTIONS", "Count retired x86 instructions including exceptions and interrupts"},
137
+	{ "IC_FETCH", "Count instruction cache fetches." },
138
+	{ "IC_INSTRUCTION_FETCH_STALL", "Count cycles in stalls due to instruction fetch." },
139
+	{ "IC_L1_ITLB_MISS_AND_L2_ITLB_HIT", "Count L1 ITLB misses that are L2 ITLB hits." },
140
+	{ "IC_L1_ITLB_MISS_AND_L2_ITLB_MISS", "Count ITLB misses that miss in both L1 and L2 ITLBs." },
141
+	{ "IC_MICROARCHITECTURAL_RESYNC_BY_SNOOP", "Count microarchitectural resyncs caused by snoops." },
142
+	{ "IC_MISS", "Count instruction cache misses." },
143
+	{ "IC_REFILL_FROM_L2", "Count instruction cache refills from L2 cache." },
144
+	{ "IC_REFILL_FROM_SYSTEM", "Count instruction cache refills from system memory." },
145
+	{ "IC_RETURN_STACK_HIT", "Count hits to the return stack." },
146
+	{ "IC_RETURN_STACK_OVERFLOW", "Count overflows of the return stack." },
147
+	{ "LS_BUFFER2_FULL", "Count load/store buffer2 full events." },
148
+	{ "LS_LOCKED_OPERATION", "Count locked operations." },
149
+	{ "LS_MICROARCHITECTURAL_LATE_CANCEL", "Count microarchitectural late cancels of operations in the load/store unit" },
150
+	{ "LS_MICROARCHITECTURAL_RESYNC_BY_SELF_MODIFYING_CODE", "Count microarchitectural resyncs caused by self_modifying code." },
151
+	{ "LS_MICROARCHITECTURAL_RESYNC_BY_SNOOP", "Count microarchitectural resyncs caused by snoops." },
152
+	{ "LS_RETIRED_CFLUSH_INSTRUCTIONS", "Count retired CFLUSH instructions." },
153
+	{ "LS_RETIRED_CPUID_INSTRUCTIONS", "Count retired CPUID instructions." },
154
+	{ "LS_SEGMENT_REGISTER_LOAD", "Count segment register loads." },
155
+	{ "NB_MEMORY_CONTROLLER_BYPASS_SATURATION", "Count memory controller bypass counter saturation events." },
156
+	{ "NB_MEMORY_CONTROLLER_DRAM_COMMAND_SLOTS_MISSED", "Count memory controller DRAM command slots missed (in MemClks)." },
157
+	{ "NB_MEMORY_CONTROLLER_PAGE_ACCESS_EVENT", "Count memory controller page access events." },
158
+	{ "NB_MEMORY_CONTROLLER_PAGE_TABLE_OVERFLOW", "Count memory control page table overflow events." },
159
+	{ "NB_PROBE_RESULT", "Count probe events." },
160
+	{ "NB_SIZED_COMMANDS", "Count sized commands issued." },
161
+	{ "NB_MEMORY_CONTROLLER_TURNAROUND", "Count memory control turnaround events." },
162
+	{ "NB_HT_BUS0_BANDWIDTH", "Count events on the HyperTransport(tm) bus #0" },
163
+	{ "NB_HT_BUS1_BANDWIDTH", "Count events on the HyperTransport(tm) bus #1" },
164
+	{ "NB_HT_BUS2_BANDWIDTH", "Count events on the HyperTransport(tm) bus #2" },
165
 	/* Special counters with some masks activated */
166
-	{ "k8-dc-refill-from-l2,mask=+modified,+owner,+exclusive,+shared", "Count data cache refills from L2 cache (in MOES state)." },
167
-	{ "k8-dc-refill-from-l2,mask=+owner,+exclusive,+shared", "Count data cache refills from L2 cache (in OES state)." },
168
-	{ "k8-dc-refill-from-l2,mask=+modified", "Count data cache refills from L2 cache (in M state)." },
169
-	{ "k8-dc-refill-from-system,mask=+modified,+owner,+exclusive,+shared", "Count data cache refills from system memory (in MOES state)." },
170
-	{ "k8-dc-refill-from-system,mask=+owner,+exclusive,+shared", "Count data cache refills from system memory (in OES state)." },
171
-	{ "k8-dc-refill-from-system,mask=+modified", "Count data cache refills from system memory (in M state)." },
172
-	{ "k8-fp-dispatched-fpu-ops,mask=+multiply-pipe-junk-ops", "Count the number of dispatched FPU multiplies." },
173
-	{ "k8-fp-dispatched-fpu-ops,mask=+add-pipe-junk-ops", "Count the number of dispatched FPU adds." },
174
-	{ "k8-fp-dispatched-fpu-ops,mask=+multiply-pipe-junk-ops,+add-pipe-junk-ops", "Count the number of dispatched FPU adds and multiplies." },
175
+	{ "DC_REFILL_FROM_L2_MOES,mask=+modified,+owner,+exclusive,+shared", "Count data cache refills from L2 cache (in MOES state)." },
176
+	{ "DC_REFILL_FROM_L2_OES,mask=+owner,+exclusive,+shared", "Count data cache refills from L2 cache (in OES state)." },
177
+	{ "DC_REFILL_FROM_L2_M,mask=+modified", "Count data cache refills from L2 cache (in M state)." },
178
+	{ "DC_REFILL_FROM_SYSTEM_MOES,mask=+modified,+owner,+exclusive,+shared", "Count data cache refills from system memory (in MOES state)." },
179
+	{ "DC_REFILL_FROM_SYSTEM_OES,mask=+owner,+exclusive,+shared", "Count data cache refills from system memory (in OES state)." },
180
+	{ "DC_REFILL_FROM_SYSTEM_M,mask=+modified", "Count data cache refills from system memory (in M state)." },
181
+	{ "FP_DISPATCHED_FPU_MULS,mask=+multiply_pipe_junk_ops", "Count the number of dispatched FPU multiplies." },
182
+	{ "FP_DISPATCHED_FPU_ADDS,mask=+add_pipe_junk_ops", "Count the number of dispatched FPU adds." },
183
+	{ "FP_DISPATCHED_FPU_ADDS_AND_MULS,mask=+multiply_pipe_junk_ops,+add_pipe_junk_ops", "Count the number of dispatched FPU adds and multiplies." },
184
 	{ NULL, NULL }
185
 };
186
 
(-)devel/papi/files/patch-freebsd_events.csv (+62 lines)
Added Link Here
1
--- freebsd_events.csv.orig	2016-01-26 16:59:11 UTC
2
+++ freebsd_events.csv
3
@@ -110,8 +110,8 @@ PRESET,PAPI_BR_INS,NOT_DERIVED,FR_RETIRE
4
 PRESET,PAPI_RES_STL,NOT_DERIVED,FR_DISPATCH_STALLS
5
 PRESET,PAPI_TOT_CYC,NOT_DERIVED,BU_CPU_CLK_UNHALTED
6
 PRESET,PAPI_TOT_INS,NOT_DERIVED,FR_RETIRED_X86_INSTRUCTIONS
7
-PRESET,PAPI_STL_ICY,FR_DECODER_EMPTY
8
-PRESET,PAPI_HW_INT,NOT_DERIVED,FR_RETIRED_TAKEN_HARDWARE_INTERRUPTS
9
+PRESET,PAPI_STL_ICY,NOT_DERIVED,FR_DECODER_EMPTY
10
+PRESET,PAPI_HW_INT,NOT_DERIVED,FR_TAKEN_HARDWARE_INTERRUPTS
11
 PRESET,PAPI_BR_TKN,NOT_DERIVED,FR_RETIRED_TAKEN_BRANCHES
12
 PRESET,PAPI_BR_MSP,NOT_DERIVED,FR_RETIRED_TAKEN_BRANCHES_MISPREDICTED
13
 PRESET,PAPI_TLB_DM,NOT_DERIVED,DC_L1_DTLB_MISS_AND_L2_DTLB_MISS
14
@@ -123,26 +123,31 @@ PRESET,PAPI_L1_TCA,DERIVED_ADD,DC_ACCESS
15
 PRESET,PAPI_L1_ICR,NOT_DERIVED,IC_FETCH
16
 PRESET,PAPI_L2_ICH,NOT_DERIVED,IC_REFILL_FROM_L2
17
 PRESET,PAPI_L2_DCH,NOT_DERIVED,DC_REFILL_FROM_L2
18
-PRESET,PAPI_L2_DCM,NOT_DERIVED,DC_REFILL_FROM_SYSTEM_MOES
19
-PRESET,PAPI_L2_DCA,DERIVED_ADD,DC_REFILL_FROM_SYSTEM_MOES, DC_REFILL_FROM_L2_MOES
20
+#PRESET,PAPI_L2_DCM,NOT_DERIVED,DC_REFILL_FROM_SYSTEM_MOES
21
+#PRESET,PAPI_L2_DCA,DERIVED_ADD,DC_REFILL_FROM_SYSTEM_MOES, DC_REFILL_FROM_L2_MOES
22
 PRESET,PAPI_L2_ICM,NOT_DERIVED,IC_REFILL_FROM_SYSTEM
23
-PRESET,PAPI_L2_DCR,NOT_DERIVED,DC_REFILL_FROM_L2_OES
24
-PRESET,PAPI_L2_DCW,NOT_DERIVED,DC_REFILL_FROM_L2_M
25
-PRESET,PAPI_L2_DCH,NOT_DERIVED,DC_REFILL_FROM_L2_MOES
26
-PRESET,PAPI_L1_LDM,NOT_DERIVED,DC_REFILL_FROM_L2_OES
27
-PRESET,PAPI_L1_STM,NOT_DERIVED,DC_REFILL_FROM_L2_M
28
-PRESET,PAPI_L2_LDM,NOT_DERIVED,DC_REFILL_FROM_SYSTEM_OES
29
-PRESET,PAPI_L2_STM,NOT_DERIVED,DC_REFILL_FROM_SYSTEM_M
30
-PRESET,PAPI_L1_DCM,DERIVED_ADD,DC_REFILL_FROM_SYSTEM_MOES, DC_REFILL_FROM_L2_MOES
31
+#PRESET,PAPI_L2_DCR,NOT_DERIVED,DC_REFILL_FROM_L2_OES
32
+#PRESET,PAPI_L2_DCW,NOT_DERIVED,DC_REFILL_FROM_L2_M
33
+#PRESET,PAPI_L2_DCH,NOT_DERIVED,DC_REFILL_FROM_L2_MOES
34
+#PRESET,PAPI_L1_LDM,NOT_DERIVED,DC_REFILL_FROM_L2_OES
35
+#PRESET,PAPI_L1_STM,NOT_DERIVED,DC_REFILL_FROM_L2_M
36
+#PRESET,PAPI_L2_LDM,NOT_DERIVED,DC_REFILL_FROM_SYSTEM_OES
37
+#PRESET,PAPI_L2_STM,NOT_DERIVED,DC_REFILL_FROM_SYSTEM_M
38
+#PRESET,PAPI_L1_DCM,DERIVED_ADD,DC_REFILL_FROM_SYSTEM_MOES, DC_REFILL_FROM_L2_MOES
39
 PRESET,PAPI_L1_ICM,DERIVED_ADD,IC_REFILL_FROM_L2, IC_REFILL_FROM_SYSTEM
40
-PRESET,PAPI_L1_TCM,DERIVED_ADD,DC_REFILL_FROM_SYSTEM_MOES,DC_REFILL_FROM_L2_MOES,IC_REFILL_FROM_SYSTEM,IC_REFILL_FROM_L2
41
-PRESET,PAPI_L2_TCM,DERIVED_ADD,DC_REFILL_FROM_SYSTEM_MOES,IC_REFILL_FROM_SYSTEM
42
+#PRESET,PAPI_L1_TCM,DERIVED_ADD,DC_REFILL_FROM_SYSTEM_MOES,DC_REFILL_FROM_L2_MOES,IC_REFILL_FROM_SYSTEM,IC_REFILL_FROM_L2
43
+#PRESET,PAPI_L2_TCM,DERIVED_ADD,DC_REFILL_FROM_SYSTEM_MOES,IC_REFILL_FROM_SYSTEM
44
+PRESET,PAPI_L1_TCM,DERIVED_ADD,DC_REFILL_FROM_SYSTEM,DC_REFILL_FROM_L2,IC_REFILL_FROM_SYSTEM,IC_REFILL_FROM_L2
45
+PRESET,PAPI_L2_TCM,DERIVED_ADD,DC_REFILL_FROM_SYSTEM,IC_REFILL_FROM_SYSTEM
46
 PRESET,PAPI_L2_ICA,DERIVED_ADD,IC_REFILL_FROM_SYSTEM,IC_REFILL_FROM_L2
47
-PRESET,PAPI_L2_TCH,DERIVED_ADD,IC_REFILL_FROM_L2,DC_REFILL_FROM_L2_MOES
48
-PRESET,PAPI_L2_TCA,DERIVED_ADD,IC_REFILL_FROM_L2,IC_REFILL_FROM_SYSTEM,DC_REFILL_FROM_L2_MOES,DC_REFILL_FROM_SYSTEM_MOES
49
-PRESET,PAPI_FML_INS,NOT_DERIVED,FP_DISPATCHED_FPU_MULS
50
-PRESET,PAPI_FAD_INS,NOT_DERIVED,FP_DISPATCHED_FPU_ADDS
51
-PRESET,PAPI_FP_OPS,NOT_DERIVED,FP_DISPATCHED_FPU_ADDS_AND_MULS
52
+#PRESET,PAPI_L2_TCH,DERIVED_ADD,IC_REFILL_FROM_L2,DC_REFILL_FROM_L2_MOES
53
+#PRESET,PAPI_L2_TCA,DERIVED_ADD,IC_REFILL_FROM_L2,IC_REFILL_FROM_SYSTEM,DC_REFILL_FROM_L2_MOES,DC_REFILL_FROM_SYSTEM_MOES
54
+PRESET,PAPI_L2_TCH,DERIVED_ADD,IC_REFILL_FROM_L2,DC_REFILL_FROM_L2
55
+PRESET,PAPI_L2_TCA,DERIVED_ADD,IC_REFILL_FROM_L2,IC_REFILL_FROM_SYSTEM,DC_REFILL_FROM_L2,DC_REFILL_FROM_SYSTEM
56
+#PRESET,PAPI_FML_INS,NOT_DERIVED,FP_DISPATCHED_FPU_MULS
57
+#PRESET,PAPI_FAD_INS,NOT_DERIVED,FP_DISPATCHED_FPU_ADDS
58
+#PRESET,PAPI_FP_OPS,NOT_DERIVED,FP_DISPATCHED_FPU_ADDS_AND_MULS
59
+PRESET,PAPI_FP_OPS,NOT_DERIVED,FP_DISPATCHED_FPU_OPS
60
 PRESET,PAPI_FP_INS,NOT_DERIVED,FR_RETIRED_FPU_INSTRUCTIONS
61
 PRESET,PAPI_FPU_IDL,NOT_DERIVED,FP_CYCLES_WITH_NO_FPU_OPS_RETIRED
62
 
(-)devel/papi/pkg-plist (+49 lines)
Lines 326-331 man/man3/PAPI_write.3.gz Link Here
326
%%DATADIR%%/ctests/memory.c
326
%%DATADIR%%/ctests/memory.c
327
%%DATADIR%%/ctests/mendes-alt
327
%%DATADIR%%/ctests/mendes-alt
328
%%DATADIR%%/ctests/mendes-alt.c
328
%%DATADIR%%/ctests/mendes-alt.c
329
%%DATADIR%%/ctests/mpifirst
329
%%DATADIR%%/ctests/mpifirst.c
330
%%DATADIR%%/ctests/mpifirst.c
330
%%DATADIR%%/ctests/multiattach
331
%%DATADIR%%/ctests/multiattach
331
%%DATADIR%%/ctests/multiattach.c
332
%%DATADIR%%/ctests/multiattach.c
Lines 432-437 man/man3/PAPI_write.3.gz Link Here
432
%%DATADIR%%/ctests/zero_shmem.c
433
%%DATADIR%%/ctests/zero_shmem.c
433
%%DATADIR%%/ctests/zero_smp
434
%%DATADIR%%/ctests/zero_smp
434
%%DATADIR%%/ctests/zero_smp.c
435
%%DATADIR%%/ctests/zero_smp.c
436
%%DATADIR%%/ftests/Makefile
437
%%DATADIR%%/ftests/accum
438
%%DATADIR%%/ftests/accum.F
439
%%DATADIR%%/ftests/avail
440
%%DATADIR%%/ftests/avail.F
441
%%DATADIR%%/ftests/case1
442
%%DATADIR%%/ftests/case1.F
443
%%DATADIR%%/ftests/case2
444
%%DATADIR%%/ftests/case2.F
445
%%DATADIR%%/ftests/clockres
446
%%DATADIR%%/ftests/clockres.F
447
%%DATADIR%%/ftests/cost
448
%%DATADIR%%/ftests/cost.F
449
%%DATADIR%%/ftests/description
450
%%DATADIR%%/ftests/description.F
451
%%DATADIR%%/ftests/eventname
452
%%DATADIR%%/ftests/eventname.F
453
%%DATADIR%%/ftests/fdmemtest
454
%%DATADIR%%/ftests/fdmemtest.F
455
%%DATADIR%%/ftests/first
456
%%DATADIR%%/ftests/first.F
457
%%DATADIR%%/ftests/flops
458
%%DATADIR%%/ftests/flops.F
459
%%DATADIR%%/ftests/fmatrixlowpapi
460
%%DATADIR%%/ftests/fmatrixlowpapi.F
461
%%DATADIR%%/ftests/fmatrixpapi
462
%%DATADIR%%/ftests/fmatrixpapi.F
463
%%DATADIR%%/ftests/fmatrixpapi2
464
%%DATADIR%%/ftests/fmatrixpapi2.F
465
%%DATADIR%%/ftests/fmultiplex1
466
%%DATADIR%%/ftests/fmultiplex1.F
467
%%DATADIR%%/ftests/fmultiplex2
468
%%DATADIR%%/ftests/fmultiplex2.F
469
%%DATADIR%%/ftests/highlevel
470
%%DATADIR%%/ftests/highlevel.F
471
%%DATADIR%%/ftests/johnmay2
472
%%DATADIR%%/ftests/johnmay2.F
473
%%DATADIR%%/ftests/nineth.F
474
%%DATADIR%%/ftests/second
475
%%DATADIR%%/ftests/second.F
476
%%DATADIR%%/ftests/strtest
477
%%DATADIR%%/ftests/strtest.F
478
%%DATADIR%%/ftests/tenth
479
%%DATADIR%%/ftests/tenth.F
480
%%DATADIR%%/ftests/zero
481
%%DATADIR%%/ftests/zero.F
482
%%DATADIR%%/ftests/zeronamed
483
%%DATADIR%%/ftests/zeronamed.F
435
%%DATADIR%%/run_tests.sh
484
%%DATADIR%%/run_tests.sh
436
%%DATADIR%%/run_tests_exclude.txt
485
%%DATADIR%%/run_tests_exclude.txt
437
%%DATADIR%%/run_tests_exclude_cuda.txt
486
%%DATADIR%%/run_tests_exclude_cuda.txt

Return to bug 208912