perf record: Properly synchronize child creation
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 16 Dec 2009 16:55:55 +0000 (17:55 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 16 Dec 2009 17:30:12 +0000 (18:30 +0100)
Remove that ugly usleep and provide proper serialization between
parent and child just like perf-stat does.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: fweisbec@gmail.com
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <20091216165904.908184135@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-record.c

Simple merge