]> git.baikalelectronics.ru Git - kernel.git/commit
perf: Restructure perf syscall point of no return
authorPeter Zijlstra <peterz@infradead.org>
Wed, 9 Sep 2015 17:06:33 +0000 (19:06 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 18 Sep 2015 07:20:24 +0000 (09:20 +0200)
commitd3043b3b51dceb01960c5818e603a290cf52af0b
tree213efb8002bf5e0d2cc5f97d9a394f56521f5e6c
parent8d0c8450b1d038b90ea51030468dcaabf45c2ac7
perf: Restructure perf syscall point of no return

The exclusive_event_installable() stuff only works because its
exclusive with the grouping bits.

Rework the code such that there is a sane place to error out before we
go do things we cannot undo.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/events/core.c