Re: [perfmon2] Error reporting when using invalid combination of umasks.

2014-09-11 Thread Stephane Eranian
> Thanks > > Gary > > > > > > *From:* Stephane Eranian [mailto:eran...@googlemail.com] > *Sent:* Tuesday, September 09, 2014 1:37 AM > *To:* Vince Weaver > *Cc:* Gary Mohr; Michel Brown; perfmon2-devel > *Subject:* Re: [perfmon2] Error reporting when using invali

Re: [perfmon2] Error reporting when using invalid combination of umasks.

2014-09-10 Thread Gary Mohr
Subject: Re: [perfmon2] Error reporting when using invalid combination of umasks. On Mon, Sep 8, 2014 at 8:23 PM, Vince Weaver mailto:vincent.wea...@maine.edu>> wrote: On Tue, 9 Sep 2014, Gary Mohr wrote: > --- ls output removed --- > > Performance counter sta

Re: [perfmon2] Error reporting when using invalid combination of umasks.

2014-09-09 Thread Stephane Eranian
On Mon, Sep 8, 2014 at 8:23 PM, Vince Weaver wrote: > On Tue, 9 Sep 2014, Gary Mohr wrote: > > > --- ls output removed --- > > > > Performance counter stats for '/bin/ls': > > > > 5,625 uncore_cbox_0/event=0x35,umask=0xa/ > [26.27%] > > uncore_cbox_0/event=0x35

Re: [perfmon2] Error reporting when using invalid combination of umasks.

2014-09-09 Thread Stephane Eranian
Gary, Sorry for late reply. Was on vacation for some time. On Thu, Aug 28, 2014 at 4:24 PM, Gary Mohr wrote: > Hi Stephane, > > > > We have run into an error condition which I do not think is handled > properly. If I run the following command, I get this error: > > > > > > papi_command_line s

Re: [perfmon2] Error reporting when using invalid combination of umasks.

2014-09-08 Thread Vince Weaver
On Tue, 9 Sep 2014, Gary Mohr wrote: > --- ls output removed --- > > Performance counter stats for '/bin/ls': > > 5,625 uncore_cbox_0/event=0x35,umask=0xa/ > [26.27%] > uncore_cbox_0/event=0x35,umask=0x4a,filter_nid=0x1/ > >0.0020389

Re: [perfmon2] Error reporting when using invalid combination of umasks.

2014-09-08 Thread Gary Mohr
better when they are in the same group, then it may be worth doing. So I guess I have more stuff to try. Gary > -Original Message- > From: Vince Weaver [mailto:vincent.wea...@maine.edu] > Sent: Monday, September 08, 2014 2:21 PM > To: Gary Mohr > Cc: Michel Brown; perfmon2-d

Re: [perfmon2] Error reporting when using invalid combination of umasks.

2014-09-08 Thread Vince Weaver
On Thu, 4 Sep 2014, Gary Mohr wrote: > snbep_unc_cbo0::UNC_C_TOR_INSERTS:MISS_ALL:cpu=0 > snbep_unc_cbo0::UNC_C_TOR_INSERTS:NID_MISS_ALL:nf=0x1:cpu=0 > ... > I will try using these events with perf. It is not my favorite tool but > if it will either show that these events should work together

Re: [perfmon2] Error reporting when using invalid combination of umasks.

2014-09-04 Thread Gary Mohr
> > > When I added a modified version of check_scheduability() to the uncore > > component it now detects that the two events with constraint conflicts > > cannot be used together. This allows PAPI to return an error at add > > event time which is better than reporting it when trying to read the

Re: [perfmon2] Error reporting when using invalid combination of umasks.

2014-09-03 Thread Vince Weaver
On Wed, 3 Sep 2014, Gary Mohr wrote: > When I added a modified version of check_scheduability() to the uncore > component it now detects that the two events with constraint conflicts > cannot be used together. This allows PAPI to return an error at add > event time which is better than reporti

Re: [perfmon2] Error reporting when using invalid combination of umasks.

2014-09-03 Thread Gary Mohr
Hi Vince, > > I presume that the code you referred to above is the function > check_scheduability() which is in the core component but not the uncore > component. I will try putting this code into the uncore component to see if > it handles this condition any better. It will need some adjustmen

Re: [perfmon2] Error reporting when using invalid combination of umasks.

2014-09-02 Thread Gary Mohr
See comments inline. > -Original Message- > From: Vince Weaver [mailto:vincent.wea...@maine.edu] > Sent: Friday, August 29, 2014 8:58 PM > To: Gary Mohr > Cc: Stephane Eranian; Michel Brown; perfmon2-devel > Subject: Re: [perfmon2] Error reporting when using inva

Re: [perfmon2] Error reporting when using invalid combination of umasks.

2014-08-29 Thread Vince Weaver
On Thu, 28 Aug 2014, Gary Mohr wrote: > Given this sequence of events, I understand why neither PAPI or libpfm4 > detected that these events cannot be used at the same time.  But it seems to > me like the kernel should have been able to detect this when the second > event was opened and return an