Re: [[PATCH v6 02/10] perf: Add a flags parameter to pmu txn interfaces

2015-09-04 Thread Michael Ellerman
On Thu, 2015-09-03 at 20:07 -0700, Sukadev Bhattiprolu wrote: > Currently, the PMU interface allows reading only one counter at a time. > But some PMUs like the 24x7 counters in Power, support reading several > counters at once. To leveage this functionality, extend the transaction > interface to

Re: [[PATCH v6 02/10] perf: Add a flags parameter to pmu txn interfaces

2015-09-04 Thread Michael Ellerman
On Thu, 2015-09-03 at 20:07 -0700, Sukadev Bhattiprolu wrote: > Currently, the PMU interface allows reading only one counter at a time. > But some PMUs like the 24x7 counters in Power, support reading several > counters at once. To leveage this functionality, extend the transaction > interface to

[[PATCH v6 02/10] perf: Add a flags parameter to pmu txn interfaces

2015-09-03 Thread Sukadev Bhattiprolu
Currently, the PMU interface allows reading only one counter at a time. But some PMUs like the 24x7 counters in Power, support reading several counters at once. To leveage this functionality, extend the transaction interface to support a "transaction type". The first type, PERF_PMU_TXN_ADD,

[[PATCH v6 02/10] perf: Add a flags parameter to pmu txn interfaces

2015-09-03 Thread Sukadev Bhattiprolu
Currently, the PMU interface allows reading only one counter at a time. But some PMUs like the 24x7 counters in Power, support reading several counters at once. To leveage this functionality, extend the transaction interface to support a "transaction type". The first type, PERF_PMU_TXN_ADD,