Messages in this thread | | | Date | Thu, 30 Jun 2011 13:15:09 +1000 | From | Anton Blanchard <> | Subject | Re: [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
| |