Re: [PATCH v1 2/2] perf/core: Add support for PMUs that can be read from any CPU

2018-03-07 Thread Jeremy Linton
Hi, On 03/03/2018 09:41 AM, Peter Zijlstra wrote: On Mon, Feb 26, 2018 at 05:53:57PM -0800, skan...@codeaurora.org wrote: On 2018-02-24 00:41, Peter Zijlstra wrote: On Fri, Feb 23, 2018 at 04:19:38PM -0800, Saravana Kannan wrote: Some PMUs events can be read from any CPU. So allow the PMU to

Re: [PATCH v1 2/2] perf/core: Add support for PMUs that can be read from any CPU

2018-03-03 Thread Peter Zijlstra
On Mon, Feb 26, 2018 at 05:53:57PM -0800, skan...@codeaurora.org wrote: > On 2018-02-24 00:41, Peter Zijlstra wrote: > > On Fri, Feb 23, 2018 at 04:19:38PM -0800, Saravana Kannan wrote: > > > Some PMUs events can be read from any CPU. So allow the PMU to mark > > > events as such. For these events,

Re: [PATCH v1 2/2] perf/core: Add support for PMUs that can be read from any CPU

2018-02-27 Thread skannan
On 2018-02-27 03:43, Mark Rutland wrote: On Mon, Feb 26, 2018 at 06:11:45PM -0800, skan...@codeaurora.org wrote: On 2018-02-25 06:38, Mark Rutland wrote: > On Fri, Feb 23, 2018 at 04:19:38PM -0800, Saravana Kannan wrote: > > Some PMUs events can be read from any CPU. So allow the PMU to mark > >

Re: [PATCH v1 2/2] perf/core: Add support for PMUs that can be read from any CPU

2018-02-27 Thread Mark Rutland
On Mon, Feb 26, 2018 at 05:53:57PM -0800, skan...@codeaurora.org wrote: > On 2018-02-24 00:41, Peter Zijlstra wrote: > > On Fri, Feb 23, 2018 at 04:19:38PM -0800, Saravana Kannan wrote: > > > Some PMUs events can be read from any CPU. So allow the PMU to mark > > > events as such. For these events,

Re: [PATCH v1 2/2] perf/core: Add support for PMUs that can be read from any CPU

2018-02-27 Thread Mark Rutland
On Mon, Feb 26, 2018 at 06:11:45PM -0800, skan...@codeaurora.org wrote: > On 2018-02-25 06:38, Mark Rutland wrote: > > On Fri, Feb 23, 2018 at 04:19:38PM -0800, Saravana Kannan wrote: > > > Some PMUs events can be read from any CPU. So allow the PMU to mark > > > events as such. For these events, w

Re: [PATCH v1 2/2] perf/core: Add support for PMUs that can be read from any CPU

2018-02-26 Thread skannan
On 2018-02-25 06:38, Mark Rutland wrote: On Fri, Feb 23, 2018 at 04:19:38PM -0800, Saravana Kannan wrote: Some PMUs events can be read from any CPU. So allow the PMU to mark events as such. For these events, we don't need to reject reads or make smp calls to the event's CPU and cause unnecessary

Re: [PATCH v1 2/2] perf/core: Add support for PMUs that can be read from any CPU

2018-02-26 Thread skannan
On 2018-02-24 00:41, Peter Zijlstra wrote: On Fri, Feb 23, 2018 at 04:19:38PM -0800, Saravana Kannan wrote: Some PMUs events can be read from any CPU. So allow the PMU to mark events as such. For these events, we don't need to reject reads or make smp calls to the event's CPU and cause unnecessa

Re: [PATCH v1 2/2] perf/core: Add support for PMUs that can be read from any CPU

2018-02-25 Thread Mark Rutland
On Fri, Feb 23, 2018 at 04:19:38PM -0800, Saravana Kannan wrote: > Some PMUs events can be read from any CPU. So allow the PMU to mark > events as such. For these events, we don't need to reject reads or > make smp calls to the event's CPU and cause unnecessary wake ups. > > Good examples of such

Re: [PATCH v1 2/2] perf/core: Add support for PMUs that can be read from any CPU

2018-02-24 Thread Peter Zijlstra
On Fri, Feb 23, 2018 at 04:19:38PM -0800, Saravana Kannan wrote: > Some PMUs events can be read from any CPU. So allow the PMU to mark > events as such. For these events, we don't need to reject reads or > make smp calls to the event's CPU and cause unnecessary wake ups. > > Good examples of such

Re: [PATCH v1 2/2] perf/core: Add support for PMUs that can be read from any CPU

2018-02-23 Thread Saravana Kannan
On 02/23/2018 04:19 PM, Saravana Kannan wrote: Some PMUs events can be read from any CPU. So allow the PMU to mark events as such. For these events, we don't need to reject reads or make smp calls to the event's CPU and cause unnecessary wake ups. Good examples of such events would be events fro

[PATCH v1 2/2] perf/core: Add support for PMUs that can be read from any CPU

2018-02-23 Thread Saravana Kannan
Some PMUs events can be read from any CPU. So allow the PMU to mark events as such. For these events, we don't need to reject reads or make smp calls to the event's CPU and cause unnecessary wake ups. Good examples of such events would be events from caches shared across all CPUs. Signed-off-by: