From: Matthew Khouzam Date: Mon, 10 Nov 2014 23:05:00 +0000 (-0500) Subject: lttng/live: get last timestamp first X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=760b855da5c419bf9b10715f0d7290946d786348;p=deliverable%2Ftracecompass.git lttng/live: get last timestamp first Change-Id: I0c3989ee4a421b0555adc873e44d3771f0a599cc Signed-off-by: Matthew Khouzam Reviewed-on: https://git.eclipse.org/r/36250 Tested-by: Hudson CI Reviewed-by: Marc-Andre Laperle Tested-by: Marc-Andre Laperle --- diff --git a/org.eclipse.tracecompass.lttng2.control.core/src/org/eclipse/tracecompass/internal/lttng2/control/core/relayd/impl/LttngRelaydConnector_2_4.java b/org.eclipse.tracecompass.lttng2.control.core/src/org/eclipse/tracecompass/internal/lttng2/control/core/relayd/impl/LttngRelaydConnector_2_4.java index 0e91f6cf31..21bbfbd178 100644 --- a/org.eclipse.tracecompass.lttng2.control.core/src/org/eclipse/tracecompass/internal/lttng2/control/core/relayd/impl/LttngRelaydConnector_2_4.java +++ b/org.eclipse.tracecompass.lttng2.control.core/src/org/eclipse/tracecompass/internal/lttng2/control/core/relayd/impl/LttngRelaydConnector_2_4.java @@ -103,7 +103,7 @@ public class LttngRelaydConnector_2_4 implements ILttngRelaydConnector { * only flush if you read after */ - AttachSessionRequest attachRequest = new AttachSessionRequest(lttngViewerSession.getId(), SeekCommand.VIEWER_SEEK_BEGINNING); + AttachSessionRequest attachRequest = new AttachSessionRequest(lttngViewerSession.getId(), SeekCommand.VIEWER_SEEK_LAST); fOutNet.write(attachRequest.serialize()); fOutNet.flush();