On Mon, Nov 13, 2017 at 1:34 PM, Vince Weaver <vincent.wea...@maine.edu>
wrote:

> On Mon, 13 Nov 2017, Stephane Eranian wrote:
>
>
> > > The issue here is that check_events does not take a comma separated
> list
> > of events, it takes a white space speratated list
> > of arguments.
>
> yes.  The bug is that we weren't trying to query two events, we were just
> intending to do one but accidentally cut-and-pasted two events together
> like this.  We expected it would fail, but libpfm4 treats it as one valid
> event (both at the command line, and through the PAPI interface).
>
> > The umask MISS_CAUSES_A_WALK is valid for the events here.
>
> yes, but "MISS_CAUSES_A_WALK,DTLB_STORE_MISSES" is not, which is what I am
> picturing libpfm4 would be trying to match against.  I need to dig through
> the code and see what is happening.
>
> It does treat it as one event. It stops processing at the comma. You see
the actual event name
is correct.
It does not generate an error because it found a comma instead of \0.
We can fix that.


> > > Requested Event:
> > > DTLB_LOAD_MISSES:MISS_CAUSES_A_WALK,DTLB_STORE_MISSES:MISS_
> > > CAUSES_A_WALK:u=1
> > > Actual    Event: skl::DTLB_LOAD_MISSES:MISS_
> CAUSES_A_WALK:k=1:u=1:e=0:i=0:
> > > c=0:t=0:intx=0:intxcp=0
> > > PMU            : Intel Skylake
> > > IDX            : 419430412
> > > Codes          : 0x530108
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to