tmf: lttngControl: Fix remote import on remote snapshot session
authorJonathan Rajotte Julien <jonathan.rajotte-julien@ericsson.com>
Fri, 22 Aug 2014 21:10:42 +0000 (17:10 -0400)
committerBernd Hufmann <bernd.hufmann@ericsson.com>
Thu, 28 Aug 2014 15:45:28 +0000 (11:45 -0400)
Change-Id: Ic1e6f8724cd852a3b371f4eac3d8fd5a64f2f01a
Signed-off-by: Jonathan Rajotte Julien <jonathan.rajotte-julien@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/32183
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
org.eclipse.linuxtools.lttng2.control.core/src/org/eclipse/linuxtools/internal/lttng2/control/core/model/impl/SessionInfo.java

index 57d09fc46b2b87164faaa11714811580ed39fa22..9f2789357c330aa0f40ca3251be175e9d51c0c8e 100644 (file)
@@ -185,6 +185,9 @@ public class SessionInfo extends TraceInfo implements ISessionInfo {
 
     @Override
     public boolean isStreamedTrace() {
+        if (isSnapshotSession() && getSnapshotInfo() != null) {
+            return getSnapshotInfo().isStreamedSnapshot();
+        }
         return fIsStreamedTrace;
     }
 
This page took 0.02461 seconds and 5 git commands to generate.