perf: Fix the software events state check
authorFrederic Weisbecker <fweisbec@gmail.com>
Mon, 7 Mar 2011 20:27:08 +0000 (21:27 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 16 Mar 2011 13:04:13 +0000 (14:04 +0100)
commit91b2f482e62ad0d444222253026a5cbca28c4ab9
tree4ce0c4bd27c85182481e5330033de2546e322873
parent0837e3242c73566fc1c0196b4ec61779c25ffc93
perf: Fix the software events state check

Fix the mistakenly inverted check of events state.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: <stable@kernel.org>
LKML-Reference: <1299529629-18280-1-git-send-email-fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/perf_event.c