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)
commit856e96608a72412d319e498a3a7c557571f811bd
tree07e5e92c0778c35d4b9b5e2f9172541ec5002333
parentf4c4176f21533e22bcc292030da72bcfa105f5b8
perf record: Properly synchronize child creation

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