]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1b4f40e460563c1804ab85de18ab37b2b9b71c69
treeb389e6eb2e9256097c42ac3d0743a2858f94042e
parent931ada55daf7a8b2e68f7ce675aac73b38df171a
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