tmf: Fix thread id of Call Stack view thread entries
authorPatrick Tasse <patrick.tasse@gmail.com>
Wed, 27 Apr 2016 15:07:33 +0000 (11:07 -0400)
committerPatrick Tasse <patrick.tasse@gmail.com>
Tue, 3 May 2016 14:43:25 +0000 (10:43 -0400)
It was inadvertently changed in commit 1a0ff02.

Change-Id: I6763b8e0aa275a6fdbd3743c3a6fbd2ffb348306
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/71528
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/views/callstack/CallStackView.java

index f218d32a574977ca05d8e33b8be594c831a28d45..bb5bc73d5af63d553d12d76c56c227272dd33103 100644 (file)
@@ -65,8 +65,8 @@ import org.eclipse.tracecompass.tmf.core.signal.TmfTraceSelectedSignal;
 import org.eclipse.tracecompass.tmf.core.signal.TmfWindowRangeUpdatedSignal;
 import org.eclipse.tracecompass.tmf.core.timestamp.ITmfTimestamp;
 import org.eclipse.tracecompass.tmf.core.timestamp.TmfTimeRange;
-import org.eclipse.tracecompass.tmf.core.timestamp.TmfTimestampDelta;
 import org.eclipse.tracecompass.tmf.core.timestamp.TmfTimestamp;
+import org.eclipse.tracecompass.tmf.core.timestamp.TmfTimestampDelta;
 import org.eclipse.tracecompass.tmf.core.trace.ITmfTrace;
 import org.eclipse.tracecompass.tmf.core.trace.TmfTraceUtils;
 import org.eclipse.tracecompass.tmf.ui.editors.ITmfTraceEditor;
@@ -656,7 +656,7 @@ public class CallStackView extends AbstractTimeGraphView {
                             if (startStates == null) {
                                 startStates = ss.queryFullState(ss.getStartTime());
                             }
-                            long threadId = endInterval.getStateValue().unboxLong();
+                            long threadId = endStates.get(threadQuark).getStateValue().unboxLong();
                             long threadStart = start;
                             ITmfStateInterval startInterval = startStates.get(callStackQuark);
                             if (startInterval.getStateValue().isNull()) {
This page took 0.028197 seconds and 5 git commands to generate.