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
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
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
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.
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
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
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
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 ++