Stephane,

I think I'll start with a subset of the counters. I only need m-box at 
this moment. Do you have any suggestions on where to start? Any 
documents or example code?

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/".

Thanks,
Wei

On 11/26/2013 11:37 AM, Stephane Eranian wrote:
> Wei,
>
> It is not too difficult I think but there is a lot of it, that's the problem.
>
>
> On Tue, Nov 26, 2013 at 5:29 PM, Wei Wang <ww...@virginia.edu> wrote:
>> Hi Stephane,
>>
>> How hard is it, do you think, to add support for Nehalem-EX uncore in
>> libpfm4? If it's not too hard, I'll try to add the it. I think I need this
>> support for my program.
>>
>> Thanks,
>> Wei
>>
>>
>> On 11/26/2013 04:31 AM, Stephane Eranian wrote:
>>> Hi Wei,
>>>
>>>
>>> NHM-EX uncore PMU is not supported by libpfm4.
>>> That's why you don't have the event list for it with
>>> showevtinfo.
>>>
>>>
>>> On Mon, Nov 25, 2013 at 10:43 PM, Wei Wang <ww...@virginia.edu> wrote:
>>>> Hi all,
>>>>
>>>> I am trying to read the m-box counters on a nehalem-ex processor.
>>>> However, I am having trouble setting up the counters.
>>>>
>>>> I can access the m-box counters using perf with a command like this:
>>>> perf stat -a -e "uncore_mbox_0/inc_sel=0xa,pld=0x0500,iss=0x0/" ls
>>>>
>>>> However, the even name "uncore_mbox_0/inc_sel=0xa,pld=0x0500,iss=0x0/"
>>>> does not work with libpfm4. Additionally, the output of "showevtinfo"
>>>> has only one uncore counter, OFFCORE_RESPONSE_0. Other counters (mbox,
>>>> cbox counters etc.) are not listed.
>>>>
>>>> Does anyone know how to set m-box counters correctly?
>>>>
>>>> Thanks,
>>>> Wei
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Shape the Mobile Experience: Free Subscription
>>>> Software experts and developers: Be at the forefront of tech innovation.
>>>> Intel(R) Software Adrenaline delivers strategic insight and game-changing
>>>> conversations that shape the rapidly evolving mobile landscape. Sign up
>>>> now.
>>>>
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
>>>> _______________________________________________
>>>> perfmon2-devel mailing list
>>>> perfmon2-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/perfmon2-devel
>>


------------------------------------------------------------------------------
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