perf: Add a bit of paranoia
authorPeter Zijlstra <peterz@infradead.org>
Fri, 23 Jan 2015 10:20:10 +0000 (11:20 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 4 Feb 2015 07:07:09 +0000 (08:07 +0100)
commit652884fe0c7bd57f534c5fe68d6def0dc8c4b7ed
treeb389e6eb2e9256097c42ac3d0743a2858f94042e
parent8f4bf4bcc4d6f70a47baec5d73bd411e572842e0
perf: Add a bit of paranoia

Add a few WARN()s to catch things that should never happen.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/20150123125834.150481799@infradead.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/events/core.c