]> granicus.if.org Git - strace/commitdiff
2005-11-02 Michal Marek <mmarek@suse.cz>
authorRoland McGrath <roland@redhat.com>
Fri, 2 Dec 2005 04:27:26 +0000 (04:27 +0000)
committerRoland McGrath <roland@redhat.com>
Fri, 2 Dec 2005 04:27:26 +0000 (04:27 +0000)
* strace-graph (handle_trace): follow clone() and vfork() calls.

strace-graph

index 1746b920e812daee4313ece2aabf595739662704..72685b4a376377f0972078d90416964939ca6c36 100755 (executable)
@@ -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};