perf: Fix STATE_EXIT usage
authorPeter Zijlstra <peterz@infradead.org>
Tue, 26 Jan 2016 11:17:08 +0000 (12:17 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 29 Jan 2016 07:35:30 +0000 (08:35 +0100)
commit6e801e016917989ab8a7ddfc4229a15a5621622a
tree686a1b6ed2e8f8520df8a7a01e4329fa398a11bf
parent07c4a776135ea6d808ea19aabeb51de6b8648402
perf: Fix STATE_EXIT usage

We should never attempt to enable a STATE_EXIT event.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/events/core.c