Hi Stephane,

In our quest to make PMU events fully transparent between vendor delimiters 
with “.” as umask delimiters and libpfm’s colon delimiter, we’re suggesting the 
following patch. It is tiny and has been tested on multiple platforms, 
including POWER8, Haswell, SB etc. It also simplifies the code a fair bit (IMO).

Now, the user is free to specify LONGEST_LAT_CACHE.MISS.i=1 or 
LONGEST_LAT_CACHE:MISS:i=1 (or mix .’s and :’s)

This allows configuration files (or lists of events) that have been developed 
with oprofile, vtune, amplifier to be used with any libpfm based tool. 

The code simply consists of replacing: p = strchr(s, “:”); *p++ = ‘\0’; with p 
= s; strsep(&p, “:.”)l 

Thanks for your consideration!





------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to