[perfmon2] [BUG] perf: record does not seem to store buildids anymore

2010-05-18 Thread Stephane Eranian
Hi, I am trying to understand how perf record deals with buildids. I am interested in offline and not live processing. According to http://lkml.org/lkml/2010/5/1/5, the inject patch does not change perf record. It should still save the buildids at the end of the perf.data file. I suspect it does n

Re: [perfmon2] Versions that support Nehalem model 46

2010-05-18 Thread stephane eranian
On Thu, May 13, 2010 at 3:55 AM, Shirley, John David wrote: > I’m trying to get perfmon2 to work with Nehalem EX. > > > > # more /proc/cpuinfo > > vendor_id   : GenuineIntel > > cpu family  : 6 > > model   : 46 > > > > It is clear that the latest releases do not support this proces

[perfmon2] [PATCH] perf: add perf stat -B to pretty print large numbers

2010-05-18 Thread Stephane Eranian
It is hard to read very large numbers so provide an option to perf stat to separate thousands using a separator. The patch leverages the locale support of stdio. You need to set your LC_NUMERIC appropriately, for instance LC_NUMERIC=en_US.UTF8. You need to pass -B to activate this feature. This way

Re: [perfmon2] [PATCH] perf_events: fix remapped count support

2010-05-18 Thread heechul Yun
Is this patch applied to mainline kernel git repository? I checked out Linus's one but it seemed not. Or I would like to know how to enable user level read so that I do not need syscall to get the counter value which took about 400ns overhead per call on my machine. Thanks. On Tue, Mar 23, 2010

Re: [perfmon2] [PATCH] perf_events: fix remapped count support

2010-05-18 Thread Stephane Eranian
On Tue, May 18, 2010 at 9:02 PM, heechul Yun wrote: > Is this patch applied to mainline kernel git repository? > I checked out Linus's one but it seemed not. > Or I would like to know how to enable user level read so that I do not need > syscall to get the counter value which took about 400ns over

Re: [perfmon2] [BUG] perf: record does not seem to store buildids anymore

2010-05-18 Thread Tom Zanussi
Hi, On Tue, May 18, 2010 at 4:36 AM, Stephane Eranian wrote: > Hi, > > I am trying to understand how perf record deals with buildids. > I am interested in offline and not live processing. According > to http://lkml.org/lkml/2010/5/1/5, the inject patch does not > change perf record. It should sti

[perfmon2] [PATCH] perf: fix cmpxchg warning in perf_event_amd.c

2010-05-18 Thread Jason Baron
Hi, I'm getting the following warnings: In file included from arch/x86/kernel/cpu/perf_event.c:1343: arch/x86/kernel/cpu/perf_event_amd.c: In function ‘amd_put_event_constraints’: arch/x86/kernel/cpu/perf_event_amd.c:167: warning: value computed is not used Since cmpxchg returns a value, we need

Re: [perfmon2] [BUG] perf: record does not seem to store buildids anymore

2010-05-18 Thread Tom Zanussi
Hi, On Tue, 2010-05-18 at 11:36 +0200, Stephane Eranian wrote: > Hi, > > I am trying to understand how perf record deals with buildids. > I am interested in offline and not live processing. According > to http://lkml.org/lkml/2010/5/1/5, the inject patch does not > change perf record. It should s

Re: [perfmon2] [PATCH] perf: fix cmpxchg warning in perf_event_amd.c

2010-05-18 Thread Peter Zijlstra
On Tue, 2010-05-18 at 16:43 -0400, Jason Baron wrote: > Hi, > > I'm getting the following warnings: > > In file included from arch/x86/kernel/cpu/perf_event.c:1343: > arch/x86/kernel/cpu/perf_event_amd.c: In function > ‘amd_put_event_constraints’: > arch/x86/kernel/cpu/perf_event_amd.c:167: warni