lkml.org 
[lkml]   [2011]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] perf report/annotate: Add option to specify a CPU range

Hi David,

> > Add an option to perf report and perf annotate to specify which CPUs
>
> What about perf-script?

Good point, I added the option to perf script.

> > + if (cpu_list && !test_bit(sample->cpu, cpu_bitmap))
> > + return 0;
> > +
>
> Need to check that the SAMPLE_CPU attribute is set for the event for
> which the sample is generated; see builtin-script.c,
> perf_evsel__check_attr().

Added.

> This option should be added to the Documentation file,
> Documentation/perf-report.txt

Added. Updated patch on the way.

Thanks,
Anton


\
 
 \ /
  Last update: 2011-06-30 05:17    [W:1.292 / U:1.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site