Vince,

Patch was applied.
Thanks.

On Sat, May 3, 2008 at 1:27 AM, Vince Weaver <[EMAIL PROTECTED]> wrote:
>
>  I had the wrong name earlier, this is a patch to fix instr_completed not
>  instr_retired.
>
>  instr_completed is a counter that only exists on a limited subset of
>  Pentium 4s.
>
>  The counter is described in Table A-8 of volume 3b of the intel devel
>  manuals.
>
>  From what I understand, there was a typo in the documentation, which is
>  why this patch is necessary.  Kenneth Hoste tracked this down a while ago.
>  The behavior in the patch makes things match the Intel vtune
>  documentation.
>
>  I sent a similar patch a while ago:
>    http://permalink.gmane.org/gmane.comp.linux.perfmon.general/1101
>
>  The .escr_select part was applied but the .allowed_escrs was not.
>
>  Vince
>
>
>  On Fri, 2 May 2008, stephane eranian wrote:
>
>  > vince,
>  >
>  > Is that also a correct value for other Pentium 4?
>  >
>  >
>  > On Fri, May 2, 2008 at 9:38 PM, Vince Weaver <[EMAIL PROTECTED]> wrote:
>  > >
>  > >  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
>  > >
>  >
>
>
>

-------------------------------------------------------------------------
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