Re: [perfmon2] Issue with PAPI/libpfm handling tracepoint events

2015-11-05 Thread Stephane Eranian
On Thu, Nov 5, 2015 at 10:49 PM, William Cohen wrote: > On 11/05/2015 12:03 PM, Stephane Eranian wrote: > >> Ok, then send mea patch that fixes this for both the perf and x86_arch >> PMUs in their init function and I will apply >> it today. >> Thanks for tracking this down. >> > > Hi Staphane, > >

Re: [perfmon2] Issue with PAPI/libpfm handling tracepoint events

2015-11-05 Thread William Cohen
On 11/05/2015 12:03 PM, Stephane Eranian wrote: > Ok, then send mea patch that fixes this for both the perf and x86_arch > PMUs in their init function and I will apply > it today. > Thanks for tracking this down. > Hi Staphane, I reviewed the code in pfmlib_intel_arch.c for creating the table.

Re: [perfmon2] Issue with PAPI/libpfm handling tracepoint events

2015-11-05 Thread Stephane Eranian
On Thu, Nov 5, 2015 at 7:27 AM, William Cohen wrote: > On 11/05/2015 10:01 AM, Stephane Eranian wrote: >> On Thu, Nov 5, 2015 at 3:48 PM, William Cohen wrote: >>> On 11/05/2015 12:11 AM, Stephane Eranian wrote: On Wed, Nov 4, 2015 at 9:06 AM, William Cohen >>>

Re: [perfmon2] Issue with PAPI/libpfm handling tracepoint events

2015-11-05 Thread William Cohen
On 11/05/2015 10:01 AM, Stephane Eranian wrote: > On Thu, Nov 5, 2015 at 3:48 PM, William Cohen wrote: >> On 11/05/2015 12:11 AM, Stephane Eranian wrote: >>> >>> >>> On Wed, Nov 4, 2015 at 9:06 AM, William Cohen >> > wrote: >>> >>> On 11/03/2015 11:01 PM, Stephane Era

Re: [perfmon2] Issue with PAPI/libpfm handling tracepoint events

2015-11-05 Thread Stephane Eranian
On Thu, Nov 5, 2015 at 3:48 PM, William Cohen wrote: > On 11/05/2015 12:11 AM, Stephane Eranian wrote: >> >> >> On Wed, Nov 4, 2015 at 9:06 AM, William Cohen > > wrote: >> >> On 11/03/2015 11:01 PM, Stephane Eranian wrote: >> > Will, >> > >> > On Tue, Nov

Re: [perfmon2] Issue with PAPI/libpfm handling tracepoint events

2015-11-05 Thread William Cohen
On 11/05/2015 12:11 AM, Stephane Eranian wrote: > > > On Wed, Nov 4, 2015 at 9:06 AM, William Cohen > wrote: > > On 11/03/2015 11:01 PM, Stephane Eranian wrote: > > Will, > > > > On Tue, Nov 3, 2015 at 10:12 PM, William Cohen

Re: [perfmon2] Issue with PAPI/libpfm handling tracepoint events

2015-11-04 Thread Stephane Eranian
On Wed, Nov 4, 2015 at 9:06 AM, William Cohen wrote: > On 11/03/2015 11:01 PM, Stephane Eranian wrote: > > Will, > > > > On Tue, Nov 3, 2015 at 10:12 PM, William Cohen > wrote: > > > > On 11/03/2015 01:41 PM, Stephane Eranian wrote: > > > Will, > > > > >

Re: [perfmon2] Issue with PAPI/libpfm handling tracepoint events

2015-11-04 Thread William Cohen
On 11/03/2015 11:01 PM, Stephane Eranian wrote: > Will, > > On Tue, Nov 3, 2015 at 10:12 PM, William Cohen > wrote: > > On 11/03/2015 01:41 PM, Stephane Eranian wrote: > > Will, > > > > Could you provide the list of events detected by libpfm4? > > Yo

Re: [perfmon2] Issue with PAPI/libpfm handling tracepoint events

2015-11-03 Thread Stephane Eranian
Will, On Tue, Nov 3, 2015 at 10:12 PM, William Cohen wrote: > On 11/03/2015 01:41 PM, Stephane Eranian wrote: > > Will, > > > > Could you provide the list of events detected by libpfm4? > > You need to run as root: sudo examples/showevtinfo -L > > Clearly the ubo uncore event should not be proce

Re: [perfmon2] Issue with PAPI/libpfm handling tracepoint events

2015-11-03 Thread William Cohen
On 11/03/2015 01:41 PM, Stephane Eranian wrote: > Will, > > Could you provide the list of events detected by libpfm4? > You need to run as root: sudo examples/showevtinfo -L > Clearly the ubo uncore event should not be processed as part of tracepoints. Hi Stephane, The count of the number of ele

Re: [perfmon2] Issue with PAPI/libpfm handling tracepoint events

2015-11-03 Thread William Cohen
On 11/03/2015 01:41 PM, Stephane Eranian wrote: > Will, > > Could you provide the list of events detected by libpfm4? > You need to run as root: sudo examples/showevtinfo -L > Clearly the ubo uncore event should not be processed as part of tracepoints. It looks like garbage data is being included

Re: [perfmon2] Issue with PAPI/libpfm handling tracepoint events

2015-11-03 Thread William Cohen
On 11/03/2015 01:41 PM, Stephane Eranian wrote: > Will, > > Could you provide the list of events detected by libpfm4? > You need to run as root: sudo examples/showevtinfo -L > Clearly the ubo uncore event should not be processed as part of tracepoints. Hi Stephane, Attached is the out output of

Re: [perfmon2] Issue with PAPI/libpfm handling tracepoint events

2015-11-03 Thread Stephane Eranian
Will, Could you provide the list of events detected by libpfm4? You need to run as root: sudo examples/showevtinfo -L Clearly the ubo uncore event should not be processed as part of tracepoints. On Tue, Nov 3, 2015 at 3:48 PM, William Cohen wrote: > When running some of the PAPI tests from PAP

[perfmon2] Issue with PAPI/libpfm handling tracepoint events

2015-11-03 Thread William Cohen
When running some of the PAPI tests from PAPI git checkout as root we noticed that fmultiplex1 failed sometimes with an invalid free, but this problem did not occur when running the test as a normal user. It looks like the problem is tied to libpfm getting additional tracepoint events. The proble