tmf: Fix thread id of Call Stack view thread entries
[deliverable/tracecompass.git] / 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.024836 seconds and 5 git commands to generate.