summaryrefslogtreecommitdiff
path: root/strace-graph
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2005-12-02 04:27:26 +0000
committerRoland McGrath <roland@redhat.com>2005-12-02 04:27:26 +0000
commitec407e3b56e283e2764499b3ab6473733c6a0c8d (patch)
tree4e6842177d0e52b62dd8788e13f8ab2552e58e18 /strace-graph
parent362f1c3e3f6eb6514d29668978928092e56a1500 (diff)
downloadstrace-ec407e3b56e283e2764499b3ab6473733c6a0c8d.tar.gz
strace-ec407e3b56e283e2764499b3ab6473733c6a0c8d.tar.bz2
strace-ec407e3b56e283e2764499b3ab6473733c6a0c8d.tar.xz
2005-11-02 Michal Marek <mmarek@suse.cz>
* strace-graph (handle_trace): follow clone() and vfork() calls.
Diffstat (limited to 'strace-graph')
-rwxr-xr-xstrace-graph2
1 files changed, 1 insertions, 1 deletions
diff --git a/strace-graph b/strace-graph
index 1746b92..72685b4 100755
--- a/strace-graph
+++ b/strace-graph
@@ -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};