This patch is needed to get the "instr_retired" performance counter to
work on the Pentium D system I have.  I've double checked the Intel
manual and this is the value that should be written... with the current
value pfmon will report no events.

Vince


--- libpfm-3.3/lib/pentium4_events.h.orig       2008-03-03 13:09:43.000000000 
-0500
+++ libpfm-3.3/lib/pentium4_events.h    2008-03-03 13:09:53.000000000 -0500
@@ -1987,7 +1987,7 @@
                 "retired during a clock cycle. Supported on models 3, 4, 6 
only",
         .event_select = 0x7,
         .escr_select = 0x5,
-        .allowed_escrs = { 20, 42 },
+        .allowed_escrs = { 21, 42 },
         .event_masks = {
                {.name = "NBOGUS",
                 .desc = "Non-bogus instructions.",


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
perfmon2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to