[PATCH] Event definition clean-up
Michael Petlan <[email protected]>
| Newsgroups | gmane.linux.oprofile |
|---|---|
| Message-ID | <alpine.LRH.2.20.1612122135290.5984@Diego> |
Hi all, the attached patch should clean-up a bit the i386 event definitions and remove the duplicates. The event name "EMON_ESP_UOPS" was taken from Intel SDM. Cheers, Michael ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ oprofile-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oprofile-list
0001-Event-definition-clean-up.patch
(text/plain, 3.9 KB)
From 34a8c04b07201b550882334541627337d652bdc8 Mon Sep 17 00:00:00 2001 From: Michael Petlan <[email protected]> Date: Mon, 12 Dec 2016 21:30:58 +0100 Subject: [PATCH] Event definition clean-up Some events were specified twice. This commit fixes them. --- events/i386/nehalem/events | 2 +- events/i386/p6_mobile/events | 2 +- events/i386/westmere/events | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/events/i386/nehalem/events b/events/i386/nehalem/events index 6951f35..5bf6c0c 100644 --- a/events/i386/nehalem/events +++ b/events/i386/nehalem/events @@ -7,7 +7,7 @@ # Note the minimum counts are not discovered experimentally and could be likely # lowered in many cases without ill effect. # -event:0x3c counters:0,1,2,3 um:zero minimum:6000 name:CPU_CLK_UNHALTED : Clock cycles when not halted +#event:0x3c counters:0,1,2,3 um:zero minimum:6000 name:CPU_CLK_UNHALTED : Clock cycles when not halted event:0x3c counters:0,1,2,3 um:one minimum:6000 name:UNHALTED_REFERENCE_CYCLES : Unhalted reference cycles event:0x2e counters:0,1,2,3 um:x41 minimum:6000 name:LLC_MISSES : Last level cache demand requests from this core that missed the LLC event:0x2e counters:0,1,2,3 um:x4f minimum:6000 name:LLC_REFS : Last level cache demand requests from this core diff --git a/events/i386/p6_mobile/events b/events/i386/p6_mobile/events index 86de7bb..1bafdce 100644 --- a/events/i386/p6_mobile/events +++ b/events/i386/p6_mobile/events @@ -106,7 +106,7 @@ event:0x94 counters:0,1 um:zero minimum:3000 name:BR_IND_CALL_EXEC : Indirect CA # Decoder event:0xce counters:0,1 um:zero minimum:3000 name:EMON_SIMD_INSTR_RETIRED : Number of retired MMX instructions event:0xd3 counters:0,1 um:zero minimum:3000 name:EMON_SYNCH_UOPS : Sync micro-ops -event:0xd7 counters:0,1 um:zero minimum:3000 name:EMON_SYNCH_UOPS : Total number of micro-ops +event:0xd7 counters:0,1 um:zero minimum:3000 name:EMON_ESP_UOPS : Total number of micro-ops event:0xda counters:0,1 um:fused minimum:3000 name:EMON_FUSED_UOPS_RET : Number of retired fused micro-ops event:0xdb counters:0,1 um:zero minimum:3000 name:EMON_UNFUSION : Number of unfusion events in the ROB, happened on a FP exception to a fused uOp # diff --git a/events/i386/westmere/events b/events/i386/westmere/events index d7b2064..cf74590 100644 --- a/events/i386/westmere/events +++ b/events/i386/westmere/events @@ -57,9 +57,9 @@ event:0xb1 counters:0,1,2,3 um:uops_executed minimum:2000000 name:UOPS_EXECUTED event:0xb2 counters:0,1,2,3 um:x01 minimum:100000 name:OFFCORE_REQUESTS_SQ_FULL : Offcore requests blocked due to Super Queue full event:0xb3 counters:0 um:snoopq_requests_outstanding minimum:2000000 name:SNOOPQ_REQUESTS_OUTSTANDING : Outstanding snoop code requests event:0xb4 counters:0,1,2,3 um:snoopq_requests minimum:100000 name:SNOOPQ_REQUESTS : Snoop code requests -event:0xb7 counters:2 um:x01 minimum:100000 name:OFFCORE_RESPONSE_ANY_DATA : REQUEST = ANY_DATA read and RESPONSE = ANY_CACHE_DRAM +event:0xb7 counters:2 um:x01 minimum:100000 name:OFFCORE_RESPONSE_ANY_DATA_0 : REQUEST = ANY_DATA read and RESPONSE = ANY_CACHE_DRAM event:0xb8 counters:0,1,2,3 um:snoop_response minimum:100000 name:SNOOP_RESPONSE : Thread responded HIT to snoop -event:0xbb counters:1 um:x01 minimum:100000 name:OFFCORE_RESPONSE_ANY_DATA : REQUEST = ANY_DATA read and RESPONSE = ANY_CACHE_DRAM +event:0xbb counters:1 um:x01 minimum:100000 name:OFFCORE_RESPONSE_ANY_DATA_1 : REQUEST = ANY_DATA read and RESPONSE = ANY_CACHE_DRAM event:0xc0 counters:0,1,2,3 um:inst_retired minimum:2000000 name:INST_RETIRED : Instructions retired (Programmable counter and Precise Event) event:0xc2 counters:0,1,2,3 um:uops_retired minimum:2000000 name:UOPS_RETIRED : Cycles Uops are being retired event:0xc3 counters:0,1,2,3 um:machine_clears minimum:20000 name:MACHINE_CLEARS : Cycles machine clear asserted -- 1.8.3.1