[perfmon2] [PATCH] perf: make perf report -D print sampled CPU

2010-05-28 Thread Stephane Eranian
It is useful to know on which CPU a sample was captured on. The information is captured with perf record -R but it was not printed out by perf report -D. This patch adds this. When -R is not used, cpu is set to -1to indicate that the CPU is unknown (it is not captured). Signed-off-by: Stephane Er

[perfmon2] [PATCH] perf: add the ability to specify list of cpus to monitor

2010-05-28 Thread Stephane Eranian
This patch adds a -C option to stat, record, top to designate a list of CPUs to monitor. CPUs can be specified as a comma-separated list or ranges, no space allowed. Examples: $ perf record -a -C0-1,4-7 sleep 1 $ perf top -C0-4 $ perf stat -a -C1,2,3,4 sleep 1 With perf record in per-thread mode

Re: [perfmon2] [PATCH] perf: make perf report -D print sampled CPU

2010-05-28 Thread Arnaldo Carvalho de Melo
Em Fri, May 28, 2010 at 12:08:01PM +0200, Stephane Eranian escreveu: > It is useful to know on which CPU a sample was captured on. > The information is captured with perf record -R but it was > not printed out by perf report -D. This patch adds this. > > When -R is not used, cpu is set to -1to ind

Re: [perfmon2] [PATCH] perf: make perf report -D print sampled CPU

2010-05-28 Thread Stephane Eranian
On Fri, May 28, 2010 at 2:57 PM, Arnaldo Carvalho de Melo wrote: > Em Fri, May 28, 2010 at 12:08:01PM +0200, Stephane Eranian escreveu: >> It is useful to know on which CPU a sample was captured on. >> The information is captured with perf record -R but it was >> not printed out by perf report -D.

Re: [perfmon2] [PATCH] perf: make perf report -D print sampled CPU

2010-05-28 Thread Stephane Eranian
On Fri, May 28, 2010 at 3:37 PM, Arnaldo Carvalho de Melo wrote: > Em Fri, May 28, 2010 at 03:03:15PM +0200, Stephane Eranian escreveu: >> On Fri, May 28, 2010 at 2:57 PM, Arnaldo Carvalho de Melo >> wrote: >> > Em Fri, May 28, 2010 at 12:08:01PM +0200, Stephane Eranian escreveu: >> >> When -R is

Re: [perfmon2] [PATCH] perf: make perf report -D print sampled CPU

2010-05-28 Thread Arnaldo Carvalho de Melo
Em Fri, May 28, 2010 at 03:03:15PM +0200, Stephane Eranian escreveu: > On Fri, May 28, 2010 at 2:57 PM, Arnaldo Carvalho de Melo > wrote: > > Em Fri, May 28, 2010 at 12:08:01PM +0200, Stephane Eranian escreveu: > >> When -R is not used, cpu is set to -1to indicate that > >> the CPU is unknown (it

Re: [perfmon2] [PATCH] perf: make perf report -D print sampled CPU

2010-05-28 Thread Arnaldo Carvalho de Melo
Em Fri, May 28, 2010 at 03:44:31PM +0200, Stephane Eranian escreveu: > On Fri, May 28, 2010 at 3:37 PM, Arnaldo Carvalho de Melo > wrote: > > Em Fri, May 28, 2010 at 03:03:15PM +0200, Stephane Eranian escreveu: > >> On Fri, May 28, 2010 at 2:57 PM, Arnaldo Carvalho de Melo > >> wrote: > >> > Em F

[perfmon2] [PATCH] libpfm4: update AMD family 10h event table

2010-05-28 Thread Robert Richter
Update from: BIOS and Kernel Developer's Guide (BKDG) For AMD Family 10h Processors, 31116 Rev 3.48 - April 22, 2010 Added: * EventSelect 068h and EventSelect 069h (all models) * EventSelect 4EDh (RevD) Signed-off-by: Robert Richter --- lib/events/amd64_events_fam10h.h | 351 ++