Re: PM_L1MISS_LAT_EXC_xxx events

Henry May <[email protected]>
Newsgroups gmane.linux.oprofile
Message-ID <OFCDFF9139.E65A8F2C-ON87257D95.004EF8A9-86257D95.004F4628@us.ibm.com>
Henry May
IBM InfoSphere Streams Performance
[email protected]
720-342-8873
Tie: 963-8873


William Cohen <[email protected]> wrote on 11/18/2014 09:15:24 PM:

> From: William Cohen <[email protected]>
> To: Henry May/Rochester/IBM@IBMUS, [email protected]
> Date: 11/18/2014 09:15 PM
> Subject: Re: PM_L1MISS_LAT_EXC_xxx events
> 
> On 11/18/2014 08:47 PM, Henry May wrote:
> > I have RHEL7 on a P8 and am unable to collect any of the 
> PM_L1MISS_LAT_EXC_xxx events with ocount.  Any suggestions?
> > 
> > [root@pftul3 ~]# /opt/at7.0/bin/ocount -s -c -b -e 
PM_L1MISS_LAT_EXC_32
> > perf_event_open failed with Invalid argument
> > Caught runtime error while setting up counters
> > Internal Error.  Perf event setup failed.
> > Error running ocount
> > 
> > Henry May
> > IBM InfoSphere Streams Performance
> > [email protected]
> > 720-342-8873
> > Tie: 963-8873
> > 
> > 
> 
> Hi Henry,
> 
> It would be helpful to include the oprofile version that you have 
> the problem with.  If you are using the oprofile-0.9.9-4.el7, then 
> it is likely because the updated power8 events were added after 
> oprofile-0.9.9 was created and the power8 event patch wasn't yet 
> available.  There is a patch for the upcoming rhel-7.1 version of 
> oprofile that includes the following patch:
> 
> 
> commit 3795ee4a10c11e16c8d13b5a5d7a6f10615a40d5
> Author: Maynard Johnson <[email protected]>
> Date:   Wed Sep 25 11:15:30 2013 -0500
> 
>     Add two new POWER8 events that are needed for stall analysis
> 
>     Signed-off-by: Maynard Johnson <[email protected]>
> 
> 
> -Will
> 
Thanks for the response, Will.  I have 1.0.0
[root@pftul3 ~]# /opt/at7.0/bin/ophelp -v
/opt/at7.0/bin/ophelp: oprofile 1.0.0git compiled on Jul 24 2014 13:48:26
It appears this build predates the addition of the above events.  This was 
a pre-built package.  I've subsequently downloaded the source with
git clone git://git.code.sf.net/p/oprofile/oprofile 
and I'm still getting the same error.
[root@pftul3 oprofile]# /usr/local/bin/ocount -s -c -b -e 
PM_L1MISS_LAT_EXC_32
perf_event_open failed with Invalid argument
Caught runtime error while setting up counters
Internal Error.  Perf event setup failed.
Error running ocount
[root@pftul3 oprofile]# /usr/local/bin/ocount -v
/usr/local/bin/ocount: oprofile 1.1.0git compiled on Nov 19 2014 08:15:47


One additional question:  There are actually 4 events, and the reference 
only mentions two.  Can you reconcile that?

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk

_______________________________________________
oprofile-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oprofile-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.