Hello

This patch is a bit more questionable.  INSTR_COMPLETED was not working on
our Pentium 4 model 6 machine.

Kenneth Hoste tracked down this problem to be an error in the official
intel documentation.  Someone at intel pointed him to the relevant counter
info in their vtune package that showed the following patch to be correct.
I've tried this and it works as expected on my machine.


--- libpfm-3.2-071017/lib/pentium4_events.h.orig        2007-11-10 
23:04:44.000000000 -0500
+++ libpfm-3.2-071017/lib/pentium4_events.h     2007-11-10 23:12:49.000000000 
-0500
@@ -1950,8 +1950,8 @@
         .desc = "Instructions that have completed and "
                 "retired during a clock cycle. Supported on models 3, 4, 6 
only",
         .event_select = 0x7,
-        .escr_select = 0x4,
-        .allowed_escrs = { 20, 42 },
+        .escr_select = 0x5,
+        .allowed_escrs = { 21, 42 },
         .event_masks = {
                {.name = "NBOGUS",
                 .desc = "Non-bogus instructions.",

_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/

Reply via email to