tmf: Bug 496504: Fix duplicate child entries in Control Flow view
authorPatrick Tasse <patrick.tasse@gmail.com>
Wed, 26 Oct 2016 18:20:33 +0000 (14:20 -0400)
committerPatrick Tasse <patrick.tasse@gmail.com>
Fri, 11 Nov 2016 13:06:28 +0000 (08:06 -0500)
commit7c094b3e0710bef7c69040d2d544f4e8781eaa4a
tree72f167e982007d6114a3bb0280fefbcb8c760f5f
parent3a6b7186c6ca6604a75b51991c009e05708a764e
tmf: Bug 496504: Fix duplicate child entries in Control Flow view

This could happen while building the state system if a child process is
first discovered in an early iteration and its parent process is found
in a second iteration. Removing the child from its old parent trace
entry would break the link to the new parent that was just set. On a
third iteration it would then add the child to the same parent again.

The TimeGraphEntry is changed to be more robust in its handling of the
parent-child relations.

Change-Id: I99743d80484d335180459df144067fc4494b8052
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/83961
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
analysis/org.eclipse.tracecompass.analysis.os.linux.ui/src/org/eclipse/tracecompass/internal/analysis/os/linux/ui/views/controlflow/ControlFlowView.java
tmf/org.eclipse.tracecompass.tmf.ui.tests/src/org/eclipse/tracecompass/tmf/ui/tests/widgets/timegraph/model/TimeGraphEntryTest.java
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/widgets/timegraph/model/TimeGraphEntry.java
This page took 0.025164 seconds and 5 git commands to generate.