2005-11-02 Michal Marek <mmarek@suse.cz>

* strace-graph (handle_trace): follow clone() and vfork() calls.
This commit is contained in:
Roland McGrath 2005-12-02 04:27:26 +00:00
parent 362f1c3e3f
commit ec407e3b56

View File

@ -229,7 +229,7 @@ sub handle_trace {
push @$seq, ['EXEC', $filename, $argv];
$pr{$pid}{seq} = $seq;
} elsif ($call eq 'fork') {
} elsif ($call eq 'fork' || $call eq 'clone' || $call eq 'vfork') {
return if $result == 0;
my $seq = $pr{$pid}{seq};