diff options
| author | Sukadev Bhattiprolu <[email protected]> | 2015-09-04 03:07:53 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2015-09-13 09:27:30 +0000 |
| commit | 8f3e5684d3fbd91ead283916676fa3dac22615e5 (patch) | |
| tree | e59407b8578f7dc67e25c9acc6f4633d3b45bedf /tools/lib/api/fs/tracing_path.c | |
| parent | powerpc, perf/powerpc/hv-24x7: Use PMU_TXN_READ interface (diff) | |
| download | kernel-8f3e5684d3fbd91ead283916676fa3dac22615e5.tar.gz kernel-8f3e5684d3fbd91ead283916676fa3dac22615e5.zip | |
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 <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Vince Weaver <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/lib/api/fs/tracing_path.c')
0 files changed, 0 insertions, 0 deletions
