diff options
author | Jonathan Rajotte Julien | 2014-08-22 21:10:42 +0000 |
---|---|---|
committer | Bernd Hufmann | 2014-09-05 22:07:35 +0000 |
commit | 167f48e9bacb858de3ed07d4132036c111ecc46e (patch) | |
tree | ff8a091060b6743f8cd4b72ad530c8c9cac6d421 | |
parent | 8969346fc37d4006d9d52457a67eccf2b4a82cc8 (diff) | |
download | org.eclipse.linuxtools-167f48e9bacb858de3ed07d4132036c111ecc46e.tar.gz org.eclipse.linuxtools-167f48e9bacb858de3ed07d4132036c111ecc46e.tar.xz org.eclipse.linuxtools-167f48e9bacb858de3ed07d4132036c111ecc46e.zip |
tmf: lttngControl: Fix remote import on remote snapshot session
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>
Reviewed-on: https://git.eclipse.org/r/32920
-rw-r--r-- | lttng/org.eclipse.linuxtools.lttng2.control.core/src/org/eclipse/linuxtools/internal/lttng2/control/core/model/impl/SessionInfo.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lttng/org.eclipse.linuxtools.lttng2.control.core/src/org/eclipse/linuxtools/internal/lttng2/control/core/model/impl/SessionInfo.java b/lttng/org.eclipse.linuxtools.lttng2.control.core/src/org/eclipse/linuxtools/internal/lttng2/control/core/model/impl/SessionInfo.java index 28e1faae04..7b59ef9a25 100644 --- a/lttng/org.eclipse.linuxtools.lttng2.control.core/src/org/eclipse/linuxtools/internal/lttng2/control/core/model/impl/SessionInfo.java +++ b/lttng/org.eclipse.linuxtools.lttng2.control.core/src/org/eclipse/linuxtools/internal/lttng2/control/core/model/impl/SessionInfo.java @@ -185,6 +185,9 @@ public class SessionInfo extends TraceInfo implements ISessionInfo { @Override public boolean isStreamedTrace() { + if (isSnapshotSession() && getSnapshotInfo() != null) { + return getSnapshotInfo().isStreamedSnapshot(); + } return fIsStreamedTrace; } |