]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit843a2f3c732029051b169bd288e914bff6eb6379
tree75914df712d93dcbf6fc82f80f4f2ecb6ce19e7d
parent1c9fd116db6b02c7d2baec87d5e6a1a2c3e7454c
perf record: Disable profiling before draining the buffer

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>
tools/perf/builtin-record.c