Re: [RFCv2 4/4] perf: util: support sysfs supported_cpumask file

2016-07-21 Thread Mark Rutland
On Thu, Jul 21, 2016 at 10:10:35AM +0200, Jiri Olsa wrote: > On Mon, Jul 18, 2016 at 04:00:45PM +0100, Mark Rutland wrote: > > On Mon, Jul 18, 2016 at 04:30:18PM +0200, Jiri Olsa wrote: > > > On Fri, Jul 15, 2016 at 11:08:13AM +0100, Mark Rutland wrote: > > > > For system PMUs, the perf tools have

Re: [RFCv2 4/4] perf: util: support sysfs supported_cpumask file

2016-07-21 Thread Mark Rutland
On Thu, Jul 21, 2016 at 10:10:35AM +0200, Jiri Olsa wrote: > On Mon, Jul 18, 2016 at 04:00:45PM +0100, Mark Rutland wrote: > > On Mon, Jul 18, 2016 at 04:30:18PM +0200, Jiri Olsa wrote: > > > On Fri, Jul 15, 2016 at 11:08:13AM +0100, Mark Rutland wrote: > > > > For system PMUs, the perf tools have

Re: [RFCv2 4/4] perf: util: support sysfs supported_cpumask file

2016-07-21 Thread Jiri Olsa
On Mon, Jul 18, 2016 at 04:00:45PM +0100, Mark Rutland wrote: > On Mon, Jul 18, 2016 at 04:30:18PM +0200, Jiri Olsa wrote: > > On Fri, Jul 15, 2016 at 11:08:13AM +0100, Mark Rutland wrote: > > > For system PMUs, the perf tools have long expected a cpumask file under > > > sysfs, describing the

Re: [RFCv2 4/4] perf: util: support sysfs supported_cpumask file

2016-07-21 Thread Jiri Olsa
On Mon, Jul 18, 2016 at 04:00:45PM +0100, Mark Rutland wrote: > On Mon, Jul 18, 2016 at 04:30:18PM +0200, Jiri Olsa wrote: > > On Fri, Jul 15, 2016 at 11:08:13AM +0100, Mark Rutland wrote: > > > For system PMUs, the perf tools have long expected a cpumask file under > > > sysfs, describing the

Re: [RFCv2 4/4] perf: util: support sysfs supported_cpumask file

2016-07-18 Thread Mark Rutland
On Mon, Jul 18, 2016 at 05:38:16PM +0100, Suzuki K Poulose wrote: > On 15/07/16 11:08, Mark Rutland wrote: > >For system PMUs, the perf tools have long expected a cpumask file under > >sysfs, describing the single CPU which they support events being > >opened/handled on. Prior patches in this

Re: [RFCv2 4/4] perf: util: support sysfs supported_cpumask file

2016-07-18 Thread Mark Rutland
On Mon, Jul 18, 2016 at 05:38:16PM +0100, Suzuki K Poulose wrote: > On 15/07/16 11:08, Mark Rutland wrote: > >For system PMUs, the perf tools have long expected a cpumask file under > >sysfs, describing the single CPU which they support events being > >opened/handled on. Prior patches in this

Re: [RFCv2 4/4] perf: util: support sysfs supported_cpumask file

2016-07-18 Thread Suzuki K Poulose
On 15/07/16 11:08, Mark Rutland wrote: For system PMUs, the perf tools have long expected a cpumask file under sysfs, describing the single CPU which they support events being opened/handled on. Prior patches in this series have reworked this support to support multiple CPUs in a mask, as is

Re: [RFCv2 4/4] perf: util: support sysfs supported_cpumask file

2016-07-18 Thread Suzuki K Poulose
On 15/07/16 11:08, Mark Rutland wrote: For system PMUs, the perf tools have long expected a cpumask file under sysfs, describing the single CPU which they support events being opened/handled on. Prior patches in this series have reworked this support to support multiple CPUs in a mask, as is

Re: [RFCv2 4/4] perf: util: support sysfs supported_cpumask file

2016-07-18 Thread Mark Rutland
On Mon, Jul 18, 2016 at 04:30:18PM +0200, Jiri Olsa wrote: > On Fri, Jul 15, 2016 at 11:08:13AM +0100, Mark Rutland wrote: > > For system PMUs, the perf tools have long expected a cpumask file under > > sysfs, describing the single CPU which they support events being > > single cpu? it's

Re: [RFCv2 4/4] perf: util: support sysfs supported_cpumask file

2016-07-18 Thread Mark Rutland
On Mon, Jul 18, 2016 at 04:30:18PM +0200, Jiri Olsa wrote: > On Fri, Jul 15, 2016 at 11:08:13AM +0100, Mark Rutland wrote: > > For system PMUs, the perf tools have long expected a cpumask file under > > sysfs, describing the single CPU which they support events being > > single cpu? it's

Re: [RFCv2 4/4] perf: util: support sysfs supported_cpumask file

2016-07-18 Thread Jiri Olsa
On Fri, Jul 15, 2016 at 11:08:13AM +0100, Mark Rutland wrote: > For system PMUs, the perf tools have long expected a cpumask file under > sysfs, describing the single CPU which they support events being single cpu? it's cpumask.. > opened/handled on. Prior patches in this series have reworked

Re: [RFCv2 4/4] perf: util: support sysfs supported_cpumask file

2016-07-18 Thread Jiri Olsa
On Fri, Jul 15, 2016 at 11:08:13AM +0100, Mark Rutland wrote: > For system PMUs, the perf tools have long expected a cpumask file under > sysfs, describing the single CPU which they support events being single cpu? it's cpumask.. > opened/handled on. Prior patches in this series have reworked

[RFCv2 4/4] perf: util: support sysfs supported_cpumask file

2016-07-15 Thread Mark Rutland
For system PMUs, the perf tools have long expected a cpumask file under sysfs, describing the single CPU which they support events being opened/handled on. Prior patches in this series have reworked this support to support multiple CPUs in a mask, as is required to handle heterogeneous CPU PMUs.

[RFCv2 4/4] perf: util: support sysfs supported_cpumask file

2016-07-15 Thread Mark Rutland
For system PMUs, the perf tools have long expected a cpumask file under sysfs, describing the single CPU which they support events being opened/handled on. Prior patches in this series have reworked this support to support multiple CPUs in a mask, as is required to handle heterogeneous CPU PMUs.