[perfmon2] Question about the plm field in perf_event_attr

2009-11-19 Thread Corey Ashford
Hi Stephane, I am testing an implementation of libpfm4, and ran into some curious behavior with the plm field in the perf_event_attr structure. The code makes it appear to be intentional, but I thought I'd run this by you to see if it's what you had intended. If I specify an event, such as

Re: [perfmon2] Question about the plm field in perf_event_attr

2009-11-19 Thread stephane eranian
On Fri, Nov 20, 2009 at 12:06 AM, Corey Ashford wrote: > > Hi Stephane, > > I am testing an implementation of libpfm4, and ran into some curious > behavior with the plm field in the perf_event_attr structure.  The code > makes it appear to be intentional, but I thought I'd run this by you to see >

Re: [perfmon2] Question about the plm field in perf_event_attr

2009-11-19 Thread Corey Ashford
stephane eranian wrote: > On Fri, Nov 20, 2009 at 12:06 AM, Corey Ashford > wrote: >> Hi Stephane, >> >> I am testing an implementation of libpfm4, and ran into some curious >> behavior with the plm field in the perf_event_attr structure. The code >> makes it appear to be intentional, but I thoug

[perfmon2] pfmon patch for MIPS

2009-11-19 Thread Vince Weaver
Hello I needed the following patch to get pfmon 3.9 working on MIPS. Vince --- pfmon/pfmon_util_mips64.c.orig 2009-11-18 15:00:48.0 -0500 +++ pfmon/pfmon_util_mips64.c 2009-11-18 15:02:51.0 -0500 @@ -531,11 +531,11 @@ vbprintf("[%d] dlopen hook on %s\n", sdesc->