Refer to chapter [[#Recording a Snapshot | Recording a Snapshot]] for how to create a snapshot.
-=== Creating a Live Tracing Session ===
+<!--=== Creating a Live Tracing Session ===
LTTng Tools version v2.4.0 introduces the possibility to create live tracing sessions. The live mode allows you to stream the trace and view it while it's being recorded. To create such a live session, open the trace session dialog as described in chapter [[#Creating a Tracing Session | Creating a Tracing Session]].
[[Image:images/LTTng2CreateSessionDialog_Live.png]]
[[Image:images/LTTng2CreateSessionDialog_Live_Advanced.png]]
Fill in all necessary information, select the radio button for '''Live Mode''' and press '''Ok'''.
-
+-->
=== Enabling Channels - General ===
Enabling channels can be done using a session tree node when the domain hasn't be created in the session or, alternatively on a domain tree node of a session in case the domain is already available.
import org.eclipse.tracecompass.internal.lttng2.control.core.relayd.commands.StreamResponse;
import org.eclipse.tracecompass.internal.lttng2.control.core.relayd.commands.ViewerCommand;
import org.eclipse.tracecompass.internal.lttng2.control.core.relayd.impl.LttngRelaydConnectorFactory;
+import org.junit.Ignore;
import org.junit.Test;
/**
* network timeout?
*/
@Test
+ @Ignore
public void testViewerConnection() throws IOException {
InetAddress addr = InetAddress.getByName(ADDRESS);
try (Socket connection = new Socket(addr, PORT);
@Override
public boolean isLive() {
- return fIsLive;
+ // FIXME: Disable Live support until we have a better implementation
+ return fIsLive && false;
}
@Override
import org.eclipse.tracecompass.internal.lttng2.control.ui.views.service.ILttngControlService;
import org.eclipse.tracecompass.internal.lttng2.control.ui.views.service.LTTngControlServiceConstants;
import org.eclipse.tracecompass.internal.lttng2.control.ui.views.service.LTTngControlServiceMI;
+import org.junit.Ignore;
import org.junit.Test;
/**
}
@Override
+ @Ignore
public void testCreateLiveSession() throws ExecutionException {
fShell.setScenario(SCEN_CREATE_LIVE_SESSION);
import org.eclipse.tracecompass.internal.lttng2.control.ui.views.service.LTTngControlServiceFactory;
import org.junit.After;
import org.junit.Before;
+import org.junit.Ignore;
import org.junit.Test;
import org.osgi.framework.FrameworkUtil;
}
@Test
+ @Ignore
public void testGetSessionWithLive() {
try {
fShell.setScenario(SCEN_GET_SESSION_WITH_LIVE);
}
@Test
+ @Ignore
public void testCreateLiveSession() throws ExecutionException {
fShell.setScenario(SCEN_CREATE_LIVE_SESSION);
}
@Test
+ @Ignore
public void testCreateLiveSessionErrors() {
try {
fShell.setScenario(SCEN_CREATE_LIVE_SESSION_ERRORS);
*
*/
public boolean isLiveSupported() {
- return getControlService().isVersionSupported("2.4.0"); //$NON-NLS-1$;
+ return false;
+ // FIXME: Disable Live support until we have a better implementation
+ //return getControlService().isVersionSupported("2.4.0"); //$NON-NLS-1$;
}
/**
* Returns if node supports adding contexts on event