]> git.baikalelectronics.ru Git - kernel.git/commit
perf: Honour event state for aux stream data
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Mon, 18 Jan 2010 08:12:32 +0000 (09:12 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 21 Jan 2010 12:40:40 +0000 (13:40 +0100)
commitdde836745e6abd66214bfeb3f13f42bee0b36b14
tree52e4104e23a68282dce5dfe181c1234f8764bcd9
parentc6928e3c843800ca8f64ba8c1eaf88520d9d1beb
perf: Honour event state for aux stream data

Anton reported that perf record kept receiving events even after calling
ioctl(PERF_EVENT_IOC_DISABLE). It turns out that FORK,COMM and MMAP
events didn't respect the disabled state and kept flowing in.

Reported-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Tested-by: Anton Blanchard <anton@samba.org>
LKML-Reference: <1263459187.4244.265.camel@laptop>
CC: stable@kernel.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/perf_event.c