]> granicus.if.org Git - strace/commit
strace-graph: handle pid looping
authorDamien Profeta <damien.profeta@amadeus.com>
Thu, 16 Mar 2017 09:01:55 +0000 (10:01 +0100)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 16 Mar 2017 14:45:18 +0000 (14:45 +0000)
commit49f099f9c02a667ee7e3ca524ce1e46dc2aaf3ad
tree293bb27d92332e98000b2896791a03229c1010a4
parenteabace12c42399f03b8ae1a19df19ac6a1b0a4c0
strace-graph: handle pid looping

* strace-graph: On long running process or heavily forking one (like
compilation), it can happen that a parent get 2 different children with
the same pid.  By tracking the currently runnig pid and adding the start
timestamp to the pid, the graph can now handle that case.

Closes: https://github.com/strace/strace/pull/7
strace-graph