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-10-20 16:20:15 +02:00
2013-07-10 13:56:10 -07:00
2014-05-18 19:01:34 -07:00
2014-05-18 19:01:27 -07:00
2014-10-20 16:20:15 +02:00
2014-05-18 19:01:30 -07:00
2014-10-20 16:20:15 +02:00
2008-12-04 09:17:21 -08:00
2014-10-20 16:20:15 +02:00
2014-05-18 19:01:34 -07:00
2014-09-09 15:24:10 -07:00
2014-09-09 15:24:10 -07:00
2014-05-18 19:01:29 -07:00
2014-05-18 19:01:29 -07:00
2011-10-31 19:30:54 -04:00
2014-09-16 18:31:31 -07:00
2008-12-04 09:17:21 -08:00
2014-10-18 23:03:09 -04:00
2014-01-28 23:38:23 -08:00
2015-05-31 22:15:01 -07:00
2013-07-31 19:10:04 -07:00
2012-05-27 23:52:49 -07:00
2012-10-14 19:26:52 -04:00
2008-12-04 09:17:21 -08:00
2014-03-07 10:06:14 -05:00
2008-12-04 09:17:21 -08:00
2012-07-26 16:46:15 -07:00
2014-10-24 09:52:49 -07:00
2010-08-08 22:07:36 -07:00
2015-03-19 18:54:49 -07:00
2015-03-19 18:54:49 -07:00
2014-10-24 09:52:49 -07:00
2012-05-11 20:45:18 -07:00
2015-05-05 13:35:39 -06:00
2015-04-18 12:32:59 -07:00
2014-09-10 14:03:28 -07:00
2014-04-29 01:12:25 -04:00
2015-07-31 22:20:05 +02: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
2015-08-03 11:34:12 +02:00
2014-05-18 19:01:34 -07:00
2013-02-06 11:04:10 -08:00
2014-05-18 19:01:34 -07:00
2014-08-26 13:45:55 -04:00
2010-04-14 02:04:29 -07:00
2014-10-05 16:53:40 -07:00
2015-06-24 17:49:40 -07:00
2010-03-30 22:02:32 +09:00
2015-07-31 22:20:05 +02:00
2014-10-20 16:20:15 +02:00
2015-05-31 22:14:05 -07:00
2015-03-19 10:17:22 -05:00
2014-04-29 01:12:27 -04:00
2014-12-11 18:51:56 -08:00
2014-05-18 19:01:29 -07:00
2015-04-22 15:42:56 -04:00
2008-12-04 09:17:21 -08:00
2015-02-13 21:21:42 -08:00
2014-08-26 13:45:55 -04:00
2012-04-15 10:28:49 -07:00
2012-07-06 07:16:34 -05:00
2014-04-29 01:12:27 -04:00
2009-06-16 04:56:49 -07:00
2014-01-28 23:38:23 -08:00
2014-10-20 16:20:15 +02:00
2014-05-18 19:01:29 -07:00
2014-11-23 13:01:45 +01:00
2014-10-20 16:20:15 +02:00
2014-10-20 16:20:15 +02:00
2014-12-14 16:10:09 -08:00
2008-12-04 09:17:21 -08:00
2015-04-18 12:32:59 -07:00
2014-05-18 19:01:29 -07:00
2015-09-08 14:35:59 -07:00
2015-03-12 15:04:01 -05:00
2015-03-19 18:54:49 -07:00
2015-09-13 11:27:30 +02:00
2014-10-20 16:20:15 +02:00
2014-10-20 16:20:15 +02:00
2015-08-04 09:48:12 +02:00
2015-03-19 18:54:50 -07:00
2011-10-31 19:30:54 -04:00
2014-05-18 19:01:31 -07:00
2013-06-13 22:12:14 +01:00
2011-06-07 16:06:34 -07:00
2014-05-18 19:01:29 -07:00
2011-06-07 16:06:34 -07:00
2014-05-18 19:01:29 -07:00
2014-04-29 01:12:26 -04:00
2014-09-23 16:21:26 -04:00
2012-03-28 18:30:03 +01:00
2012-05-27 23:52:49 -07:00
2013-11-19 10:40:00 -08:00
2013-01-21 14:33:00 -08:00
2014-04-29 01:12:25 -04:00
2015-05-31 22:15:01 -07:00
2015-02-12 18:54:12 -08:00
2015-02-12 18:54:12 -08:00
2015-02-12 18:54:12 -08:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2011-08-20 17:14:54 -07:00
2014-08-06 14:41:10 -07:00
2015-04-22 15:42:56 -04:00
2014-01-28 23:38:23 -08:00
2014-01-28 23:38:23 -08:00
2008-12-04 09:17:21 -08:00
2011-08-02 21:28:52 -07:00
2011-10-31 19:30:53 -04:00
2015-03-01 21:33:58 -08:00
2015-07-31 22:20:05 +02:00
2014-08-26 13:45:55 -04:00
2015-07-31 22:20:05 +02:00
2015-08-10 11:41:05 +02:00
2008-12-04 09:17:21 -08:00
2014-09-16 17:46:44 -07:00
2014-07-21 22:27:56 -07:00
2014-05-18 19:01:31 -07:00
2014-05-18 19:01:28 -07:00
2015-03-03 14:05:48 -08:00
2014-12-13 12:42:51 -08:00
2014-05-21 12:54:42 -07:00
2014-12-13 12:42:51 -08:00
2014-12-13 12:42:51 -08:00
2014-05-18 19:01:31 -07:00
2015-08-10 11:41:05 +02:00
2015-08-10 11:41:05 +02:00
2014-01-28 23:38:23 -08:00
2014-10-24 09:52:49 -07:00
2015-04-12 21:03:21 +02:00
2015-04-12 21:03:21 +02:00
2014-10-18 23:03:09 -04:00
2012-05-19 23:27:25 -07:00
2012-05-19 23:26:41 -07:00
2011-02-01 12:39:59 -08:00
2011-03-16 18:19:15 -07:00
2014-07-21 21:37:06 -07:00
2014-06-19 07:50:07 -10:00
2008-12-04 09:17:21 -08:00
2014-09-30 14:40:45 -07:00
2014-09-30 14:17:08 -07:00
2012-10-26 15:18:37 -07:00
2015-05-31 22:15:01 -07:00
2014-04-29 01:12:25 -04:00
2012-10-26 15:18:37 -07:00
2012-05-27 23:52:49 -07:00
2012-05-27 23:52:49 -07:00