perf record: Disable profiling before draining the buffer
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 17 Sep 2009 17:59:05 +0000 (19:59 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Sep 2009 20:08:27 +0000 (22:08 +0200)
I noticed that perf-record continues profiling itself after the
child terminated and we're draining the buffer.

This can cause a _lot_ of overhead with --all recording - we keep
and keep recording, which produces new and new events.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found