Re: [PATCH] perf report/annotate: Add option to specify a CPU range

From: Anton Blanchard
Date: Wed Jun 29 2011 - 23:15:36 EST



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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/