On Tue, 26 Nov 2013, Wei Wang wrote:

> Frankly speaking, I googled around, but I still don't know which system 
> call I should make to pass an event name like 
> "uncore_mbox_0/inc_sel=0xa,pld=0x0500,iss=0x0/".

you just do a normal perf_event_open_syscall.

You set the attr.type field to the value you find in 
    /sys/devices/uncore_mbox_0/type
and you set the attr.config value to whatever 
   inc_sel=0xa,pld=0x0500,iss=0x0 maps to.  
This is where having libpfm4 support would help a lot, but adding support
for all of those different values looks like it will be a pain.

Vince

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to