]> 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)
commitca1888e24992246bd1cab156a0d9a439a996cbd1
tree213efb8002bf5e0d2cc5f97d9a394f56521f5e6c
parent5722fe689168d3f25ce0e447c7976873cf3acf9c
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