Sukadev Bhattiprolu 8f3e5684d3 perf/core: Drop PERF_EVENT_TXN
We currently use PERF_EVENT_TXN flag to determine if we are in the middle
of a transaction. If in a transaction, we defer the schedulability checks
from pmu->add() operation to the pmu->commit() operation.

Now that we have "transaction types" (PERF_PMU_TXN_ADD, PERF_PMU_TXN_READ)
we can use the type to determine if we are in a transaction and drop the
PERF_EVENT_TXN flag.

When PERF_EVENT_TXN is dropped, the cpuhw->group_flag on some architectures
becomes unused, so drop that field as well.

This is an extension of the Powerpc patch from Peter Zijlstra to s390,
Sparc and x86 architectures.

Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Link: http://lkml.kernel.org/r/1441336073-22750-11-git-send-email-sukadev@linux.vnet.ibm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2015-09-13 11:27:30 +02:00
..
2008-12-04 09:17:15 -08:00
2014-05-18 19:01:30 -07:00
2008-12-04 09:17:21 -08:00
2014-05-18 19:01:29 -07:00
2008-12-04 09:17:21 -08:00
2008-12-04 09:17:21 -08:00
2008-12-04 09:17:21 -08:00
2012-07-26 16:46:15 -07:00
2015-03-19 18:54:49 -07:00
2015-05-05 13:35:39 -06:00
2008-12-04 09:17:21 -08:00
2008-12-04 09:17:21 -08:00
2014-08-26 13:45:55 -04:00
2015-06-24 17:49:40 -07:00
2015-03-19 10:17:22 -05:00
2014-05-18 19:01:29 -07:00
2008-12-04 09:17:21 -08:00
2014-08-26 13:45:55 -04:00
2014-12-14 16:10:09 -08:00
2008-12-04 09:17:21 -08:00
2015-09-08 14:35:59 -07:00
2015-03-19 18:54:49 -07:00
2015-09-13 11:27:30 +02:00
2013-06-13 22:12:14 +01:00
2012-03-28 18:30:03 +01:00
2008-12-04 09:17:21 -08:00
2014-08-26 13:45:55 -04:00
2008-12-04 09:17:21 -08:00
2014-07-21 22:27:56 -07:00
2014-12-13 12:42:51 -08:00
2008-12-04 09:17:21 -08:00
2014-09-30 14:17:08 -07:00