]> git.karo-electronics.de Git - karo-tx-linux.git/commit
perf_counter: Log vfork as a fork event
authorAnton Blanchard <anton@samba.org>
Thu, 16 Jul 2009 13:44:29 +0000 (15:44 +0200)
committerIngo Molnar <mingo@elte.hu>
Sat, 18 Jul 2009 09:21:31 +0000 (11:21 +0200)
commited900c054b541254f0ce5cedaf75206e29bd614e
treec164aaefa1185744d4372d8ff5b11a86a8e1405a
parent11b5f81e1b0ea0bc84fe32f0a27054e052b2bf84
perf_counter: Log vfork as a fork event

Right now we don't output vfork events. Even though we should
always see an exec after a vfork, we may get perfcounter
samples between the vfork and exec. These samples can lead to
some confusion when parsing perfcounter data.

To keep things consistent we should always log a fork event. It
will result in a little more log data, but is less confusing to
trace parsing tools.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20090716104817.589309391@samba.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/fork.c