Vince,
On Mon, Nov 13, 2017 at 12:02 PM, Vince Weaver <vincent.wea...@maine.edu>
wrote:
> Hello
>
> My student noticed that when she accidentally cut and pasted an invalid
> event it was being accepted as valid by libpfm4/PAPI.
>
> The event in question is two events stuck together with a comma.
> I think the second event is somehow being treated as an invalid umask and
> ignored.
>
> The event in this case is on Skylake:
>
> "DTLB_LOAD_MISSES:MISS_CAUSES_A_WALK,DTLB_STORE_MISSES:MISS_
> CAUSES_A_WALK:u=1"
>
> For example. running this:
> ./check_events DTLB_LOAD_MISSES:MISS_CAUSES_
> A_WALK,DTLB_STORE_MISSES:MISS_CAUSES_A_WALK:u=1
>
> 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.
The umask MISS_CAUSES_A_WALK is valid for the events here.
> 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
>
> where it should probably return some sort of error?
>
> Vince
>
------------------------------------------------------------------------------
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