On Tue, 22 Apr 2014, Gary Mohr wrote:
> My first impression was to ask Vince and Phil if they could explain why PAPI
> uses pfm_find_event. But Phil beat me to it so I decided to have a look at
> the PAPI source code to see if I could figure it out instead. After a quick
> check of the source, it looks like the calls to pfm_find_event may be
> unnecessary so I will try to bypass them and see what happens.
Anything PAPI/libpfm4 related you can blame me, as I wrote all of that
code.
If it's doing something weird, it's almost certainly due to event/umask
enumeration. That was the big problem with moving PAPI to libpfm4.
The PAPI event enumeration code really wants to be able to take an
arbitrary event name and say "give me the next event", same with umasks.
It's hard to do that with libpfm4, which is why the code is a bit of a mess.
Vince
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel