control: remove calibrate command
authorBernd Hufmann <Bernd.Hufmann@ericsson.com>
Mon, 11 Jan 2016 17:50:59 +0000 (12:50 -0500)
committerBernd Hufmann <bernd.hufmann@ericsson.com>
Mon, 11 Jan 2016 20:00:08 +0000 (15:00 -0500)
This feature never really was fully implemented in LTTng runtime and
because of that should not be there in the Control view.

Change-Id: I7573bcacf0fcf05f86d688d9ef7b4aafec735a9a
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/64029
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
22 files changed:
doc/org.eclipse.tracecompass.doc.user/doc/User-Guide.mediawiki
doc/org.eclipse.tracecompass.doc.user/doc/images/LTTng2AddContextOnDomainAction.png
doc/org.eclipse.tracecompass.doc.user/doc/images/LTTng2CalibrateAction.png [deleted file]
doc/org.eclipse.tracecompass.doc.user/doc/images/LTTng2CreateChannelOnDomainAction.png
doc/org.eclipse.tracecompass.doc.user/doc/images/LTTng2EventOnDomainAction.png
lttng/org.eclipse.tracecompass.lttng2.control.ui.tests/src/org/eclipse/tracecompass/lttng2/control/ui/tests/model/component/TraceControlKernelSessionTest.java
lttng/org.eclipse.tracecompass.lttng2.control.ui.tests/src/org/eclipse/tracecompass/lttng2/control/ui/tests/service/LTTngControlServiceTest.java
lttng/org.eclipse.tracecompass.lttng2.control.ui.tests/testfiles/CreateSessionTest.cfg
lttng/org.eclipse.tracecompass.lttng2.control.ui.tests/testfiles/CreateTreeTest.cfg
lttng/org.eclipse.tracecompass.lttng2.control.ui.tests/testfiles/LTTngServiceMiTest.cfg
lttng/org.eclipse.tracecompass.lttng2.control.ui.tests/testfiles/LTTngServiceTest.cfg
lttng/org.eclipse.tracecompass.lttng2.control.ui/icons/elcl16/calibrate.gif [deleted file]
lttng/org.eclipse.tracecompass.lttng2.control.ui/plugin.properties
lttng/org.eclipse.tracecompass.lttng2.control.ui/plugin.xml
lttng/org.eclipse.tracecompass.lttng2.control.ui/src/org/eclipse/tracecompass/internal/lttng2/control/ui/views/handlers/CalibrateHandler.java [deleted file]
lttng/org.eclipse.tracecompass.lttng2.control.ui/src/org/eclipse/tracecompass/internal/lttng2/control/ui/views/messages/Messages.java
lttng/org.eclipse.tracecompass.lttng2.control.ui/src/org/eclipse/tracecompass/internal/lttng2/control/ui/views/messages/messages.properties
lttng/org.eclipse.tracecompass.lttng2.control.ui/src/org/eclipse/tracecompass/internal/lttng2/control/ui/views/model/impl/NullControlService.java
lttng/org.eclipse.tracecompass.lttng2.control.ui/src/org/eclipse/tracecompass/internal/lttng2/control/ui/views/model/impl/TraceDomainComponent.java
lttng/org.eclipse.tracecompass.lttng2.control.ui/src/org/eclipse/tracecompass/internal/lttng2/control/ui/views/service/ILttngControlService.java
lttng/org.eclipse.tracecompass.lttng2.control.ui/src/org/eclipse/tracecompass/internal/lttng2/control/ui/views/service/LTTngControlService.java
lttng/org.eclipse.tracecompass.lttng2.control.ui/src/org/eclipse/tracecompass/internal/lttng2/control/ui/views/service/LTTngControlServiceConstants.java

index 5c36064ca0557133865529c6a0476de41e5429b9..a24b55d3fc769896f66fadf95721e15741334dcf 100644 (file)
@@ -1430,15 +1430,6 @@ To refresh the remote host information, select any node in the tree of the Contr
 
 Upon successful operation, the tree in the Control View will be refreshed with the remote host configuration.
 
-=== Quantifing LTTng overhead (Calibrate) ===
-
-The LTTng calibrate command can be used to find out the combined average overhead of the LTTng tracer and the instrumentation mechanisms used. For now, the only calibration implemented is that of the kernel function
-instrumentation (kretprobes). To run the calibrate command, select the a domain (e.g. '''Kernel'''), click the right mouse button on the domain tree node. A context-sensitive menu will show. Select the '''Calibrate''' menu item.
-
-[[Image:images/LTTng2CalibrateAction.png]]
-
-Upon successful operation, the calibrate command is executed and relevant information is stored in the trace. Note: that the trace has to be active so that to command as any effect.
-
 === Importing Session Traces to a Tracing Project ===
 
 To import traces from a tracing session, select the relevant session and click on the '''Import''' Button. Alternatively, click the right mouse button on the session tree node and select the menu item '''Import...''' from the context-sensitive menu.
index ebfac852f9c5614e61b3dbf8a7e667cf9a575270..c67cde343a340e8fceae4c4c0f1856e5ae67df8a 100644 (file)
Binary files a/doc/org.eclipse.tracecompass.doc.user/doc/images/LTTng2AddContextOnDomainAction.png and b/doc/org.eclipse.tracecompass.doc.user/doc/images/LTTng2AddContextOnDomainAction.png differ
diff --git a/doc/org.eclipse.tracecompass.doc.user/doc/images/LTTng2CalibrateAction.png b/doc/org.eclipse.tracecompass.doc.user/doc/images/LTTng2CalibrateAction.png
deleted file mode 100644 (file)
index cf9464f..0000000
Binary files a/doc/org.eclipse.tracecompass.doc.user/doc/images/LTTng2CalibrateAction.png and /dev/null differ
index 9a41ef7ae64cee088a033d3b9acc71c9d7b53029..48f5c198e822b895e1378d1a3c342a37a535af61 100644 (file)
Binary files a/doc/org.eclipse.tracecompass.doc.user/doc/images/LTTng2CreateChannelOnDomainAction.png and b/doc/org.eclipse.tracecompass.doc.user/doc/images/LTTng2CreateChannelOnDomainAction.png differ
index e7b480537f7de75987c350ffa477b1e4d3f8da26..69104eabeccd479ba86df1e9b97ab050207a5708 100644 (file)
Binary files a/doc/org.eclipse.tracecompass.doc.user/doc/images/LTTng2EventOnDomainAction.png and b/doc/org.eclipse.tracecompass.doc.user/doc/images/LTTng2EventOnDomainAction.png differ
index e64c0e18f28d518b95fcca3b7b8c0cc11bba03b0..620debe48a3e5203d5caa2525877cadaa158600a 100644 (file)
@@ -750,18 +750,6 @@ public class TraceControlKernelSessionTest {
         // Currently there is nothing to verify because the list commands don't show any context information
         // However, the execution of the command make sure that the correct service command line is build and executed.
 
-        // ------------------------------------------------------------------------
-        // Calibrate
-        // ------------------------------------------------------------------------
-        // Get Kernel domain component instance
-        domains = session.getChildren();
-        assertNotNull(domains);
-        assertEquals(1, domains.length);
-
-        fFacility.executeCommand(domains[0], "calibrate");
-        // There is nothing to verify here.
-        // However, the execution of the command make sure that the correct service command line is build and executed.
-
         // ------------------------------------------------------------------------
         // refresh
         // ------------------------------------------------------------------------
index 40365fc5e0e4a596642a96bdb14a5da7bbcad416..6e1f4a81fd6002bee06cfba55b613aa190e7e99f 100644 (file)
@@ -105,7 +105,6 @@ public class LTTngControlServiceTest {
     private static final String SCEN_EVENT_HANDLING = "EventHandling";
     private static final String SCEN_CONTEXT_HANDLING = "ContextHandling";
     private static final String SCEN_CONTEXT_ERROR_HANDLING = "ContextErrorHandling";
-    private static final String SCEN_CALIBRATE_HANDLING = "CalibrateHandling";
     private static final String SCEN_CREATE_SESSION_2_1 = "CreateSessionLttng2.1";
     private static final String SCEN_CREATE_SESSION_VERBOSE_2_1 = "CreateSessionLttngVerbose2.1";
     private static final String SCEN_CREATE_SNAPSHOT_SESSION = "CreateSessionSnapshot";
@@ -1261,28 +1260,6 @@ public class LTTngControlServiceTest {
         }
     }
 
-    @Test
-    public void testCalibrate() {
-        try {
-            fShell.setScenario(SCEN_CALIBRATE_HANDLING);
-            fService.calibrate(true, new NullProgressMonitor());
-
-        } catch (ExecutionException e) {
-            fail(e.toString());
-        }
-    }
-
-    @Test
-    public void testCalibrateFailure() {
-        try {
-            fShell.setScenario(SCEN_CALIBRATE_HANDLING);
-            fService.calibrate(false, new NullProgressMonitor());
-            fail("No exeption generated");
-        } catch (ExecutionException e) {
-            // success
-        }
-    }
-
     @Test
     public void testCreateSession2_1() {
 
index 870b87a8c4ab8514a2d3204aec229b4b829ba7d7..407bce95e28d196bf6875106b973d2978c23575c 100644 (file)
@@ -26,7 +26,6 @@ Web site: http://lttng.org/
 
 lttng is free software and under the GPL license and part LGPL
 </COMMAND_OUTPUT>
-
 <COMMAND_INPUT>
 lttng list
 </COMMAND_INPUT>
index fad28ea04b501699312085d44dd54ec4349f7e05..ec11afe93854ad43d563383ed109b27e192d7be1 100644 (file)
@@ -1954,16 +1954,6 @@ Channels:
 
 </COMMAND_OUTPUT>
 
-<COMMAND_INPUT>
-lttng calibrate -k --function
-</COMMAND_INPUT>
-<COMMAND_RESULT>
-0
-</COMMAND_RESULT>
-<COMMAND_OUTPUT>
-Kernel calibration done
-</COMMAND_OUTPUT>
-
 </SCENARIO>
 
 <SCENARIO>
index 3fd2351122c65fdba1fac5868b5ed66cfb101ccb..1e0da9128a650e167f50533c9c559cc61d87d457 100644 (file)
@@ -1948,48 +1948,6 @@ UST context pid added to event sched_kthread_stop_ret channel mychannel
 
 </SCENARIO>
 
-<SCENARIO>
-CalibrateHandling
-<COMMAND_INPUT>
-lttng --mi xml calibrate -k --function
-</COMMAND_INPUT>
-<COMMAND_RESULT>
-0
-</COMMAND_RESULT>
-<COMMAND_OUTPUT>
-<?xml version="1.0" encoding="UTF-8"?>
-<command>
-  <name>calibrate</name>
-  <output>
-    <calibrate>
-      <type>FUNCTION</type>
-    </calibrate>
-  </output>
-  <success>true</success>
-</command>
-</COMMAND_OUTPUT>
-
-<COMMAND_INPUT>
-lttng --mi xml calibrate -u --function
-</COMMAND_INPUT>
-<COMMAND_RESULT>
-1
-</COMMAND_RESULT>
-<COMMAND_OUTPUT>
-<?xml version="1.0" encoding="UTF-8"?>
-<command>
-  <name>calibrate</name>
-  <output>
-    <calibrate>
-      <type>FUNCTION</type>
-    </calibrate>
-  </output>
-  <success>true</success>
-</command>
-</COMMAND_OUTPUT>
-
-</SCENARIO>
-
 ####################################################################
 # Scenario: Test "lttng create <session> with LTTng 2.1 options
 ####################################################################
index 20bfb9cad6115abce67a8d23aabe738115b70935..2f14c87734dfe05b3cc6f4ba69048b2068d0d791 100644 (file)
@@ -1121,30 +1121,6 @@ UST context pid added to event sched_kthread_stop_ret channel mychannel
 
 </SCENARIO>
 
-<SCENARIO>
-CalibrateHandling
-<COMMAND_INPUT>
-lttng calibrate -k --function
-</COMMAND_INPUT>
-<COMMAND_RESULT>
-0
-</COMMAND_RESULT>
-<COMMAND_OUTPUT>
-Kernel calibration done
-</COMMAND_OUTPUT>
-
-<COMMAND_INPUT>
-lttng calibrate -u --function
-</COMMAND_INPUT>
-<COMMAND_RESULT>
-1
-</COMMAND_RESULT>
-<COMMAND_OUTPUT>
-Kernel calibration done
-</COMMAND_OUTPUT>
-
-</SCENARIO>
-
 ####################################################################
 # Scenario: Test "lttng create <session> with LTTng 2.1 options
 ####################################################################
diff --git a/lttng/org.eclipse.tracecompass.lttng2.control.ui/icons/elcl16/calibrate.gif b/lttng/org.eclipse.tracecompass.lttng2.control.ui/icons/elcl16/calibrate.gif
deleted file mode 100644 (file)
index c984fba..0000000
Binary files a/lttng/org.eclipse.tracecompass.lttng2.control.ui/icons/elcl16/calibrate.gif and /dev/null differ
index d5cec7232e1d2a2a3dbc4aa5ac76db6c441be69b..4580f526b585eb71381b6dfe0d835c6462284b0f 100644 (file)
@@ -133,9 +133,6 @@ commands.control.import.description=Import Traces to LTTng Project
 commands.control.record=Record...
 commands.control.record.description=Record a tracing session with basic options
 
-commands.control.calibrate=Calibrate
-commands.control.calibrate.description=Quantify LTTng overhead
-
 commands.control.snapshot=Record Snapshot
 commands.control.snapshot.description=Record a snapshot
 
index d65be69dcd5a099ff69ee2fe149227f1f356e8af..cadb7a85a2a0308079b23282d2f91078d3ff4361 100644 (file)
             name="%commands.control.import">
       </command>
 
-      <command
-            categoryId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.category"
-            description="%commands.control.calibrate.description"
-            id="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.calibrate"
-            name="%commands.control.calibrate">
-      </command>
-
       <command
             categoryId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.category"
             description="%commands.control.snapshot.description"
                </with>
             </visibleWhen>
          </command>
-         <command
-               commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.calibrate"
-               icon="icons/elcl16/calibrate.gif"
-               label="%commands.control.calibrate"
-               style="push">
-            <visibleWhen
-                  checkEnabled="false">
-               <with
-                     variable="activeMenuSelection">
-                  <and>
-                     <iterate
-                           operator="or">
-                        <instanceof
-                              value="org.eclipse.tracecompass.internal.lttng2.control.ui.views.model.impl.TraceDomainComponent">
-                        </instanceof>
-                     </iterate>
-                     <count
-                           value="1">
-                     </count>
-                  </and>
-               </with>
-            </visibleWhen>
-         </command>
 
          <command
                commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.snapshot"
          </activeWhen>
       </handler>
 
-      <handler
-            class="org.eclipse.tracecompass.internal.lttng2.control.ui.views.handlers.CalibrateHandler"
-            commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.calibrate">
-         <activeWhen>
-            <with
-                  variable="selection">
-               <iterate
-                     operator="or">
-                  <instanceof
-                        value="org.eclipse.tracecompass.internal.lttng2.control.ui.views.model.impl.TraceDomainComponent">
-                  </instanceof>
-               </iterate>
-            </with>
-         </activeWhen>
-      </handler>
-
       <handler
             class="org.eclipse.tracecompass.internal.lttng2.control.ui.views.handlers.AddContextOnChannelHandler"
             commandId="org.eclipse.linuxtools.internal.lttng2.ui.commands.control.addContextOnChannel">
diff --git a/lttng/org.eclipse.tracecompass.lttng2.control.ui/src/org/eclipse/tracecompass/internal/lttng2/control/ui/views/handlers/CalibrateHandler.java b/lttng/org.eclipse.tracecompass.lttng2.control.ui/src/org/eclipse/tracecompass/internal/lttng2/control/ui/views/handlers/CalibrateHandler.java
deleted file mode 100644 (file)
index 70182d0..0000000
+++ /dev/null
@@ -1,140 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2012, 2015 Ericsson
- *
- * All rights reserved. This program and the accompanying materials are
- * made available under the terms of the Eclipse Public License v1.0 which
- * accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *   Bernd Hufmann - Initial API and implementation
- **********************************************************************/
-package org.eclipse.tracecompass.internal.lttng2.control.ui.views.handlers;
-
-import static org.eclipse.tracecompass.common.core.NonNullUtils.checkNotNull;
-
-import java.util.Iterator;
-
-import org.eclipse.core.commands.ExecutionEvent;
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.core.runtime.jobs.Job;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.tracecompass.internal.lttng2.control.ui.Activator;
-import org.eclipse.tracecompass.internal.lttng2.control.ui.views.ControlView;
-import org.eclipse.tracecompass.internal.lttng2.control.ui.views.messages.Messages;
-import org.eclipse.tracecompass.internal.lttng2.control.ui.views.model.impl.TraceDomainComponent;
-import org.eclipse.tracecompass.internal.lttng2.control.ui.views.model.impl.TraceSessionComponent;
-import org.eclipse.ui.IWorkbenchPage;
-import org.eclipse.ui.IWorkbenchWindow;
-import org.eclipse.ui.PlatformUI;
-
-/**
- * <p>
- * Command handler implementation to execute command calibrate to quantify LTTng overhead.
- * </p>
- *
- * @author Bernd Hufmann
- */
-public class CalibrateHandler extends BaseControlViewHandler {
-
-    // ------------------------------------------------------------------------
-    // Attributes
-    // ------------------------------------------------------------------------
-    /**
-     * The command execution parameter.
-     */
-    protected DomainCommandParameter fParam = null;
-
-    // ------------------------------------------------------------------------
-    // Operations
-    // ------------------------------------------------------------------------
-
-    @Override
-    public Object execute(ExecutionEvent event) throws ExecutionException {
-
-        final IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
-
-        if (window == null) {
-            return false;
-        }
-        fLock.lock();
-        try {
-
-            DomainCommandParameter tmpParam = fParam;
-            if (tmpParam == null) {
-                return null;
-            }
-
-            // Make a copy for thread safety
-            final DomainCommandParameter param = tmpParam.clone();
-
-            Job addJob = new Job(Messages.TraceControl_AddCalibrateJob) {
-                @Override
-                protected IStatus run(IProgressMonitor monitor) {
-                    try {
-                        param.getDomain().calibrate(monitor);
-                    } catch (ExecutionException e) {
-                        return new Status(IStatus.ERROR, Activator.PLUGIN_ID, Messages.TraceControl_AddCalibrateFailure, e);
-                    }
-
-                    return Status.OK_STATUS;
-                }
-            };
-            addJob.setUser(true);
-            addJob.schedule();
-
-        } finally {
-            fLock.unlock();
-        }
-        return Status.OK_STATUS;
-    }
-
-    @Override
-    public boolean isEnabled() {
-
-        // Get workbench page for the Control View
-        IWorkbenchPage page = getWorkbenchPage();
-        if (page == null) {
-            return false;
-        }
-
-        TraceDomainComponent domain = null;
-        TraceSessionComponent session = null;
-
-        // Check if one domain is selected
-        ISelection selection = page.getSelection(ControlView.ID);
-        if (selection instanceof StructuredSelection) {
-            StructuredSelection structered = ((StructuredSelection) selection);
-            for (Iterator<?> iterator = structered.iterator(); iterator.hasNext();) {
-                Object element = iterator.next();
-                if (element instanceof TraceDomainComponent) {
-                    TraceDomainComponent tmpDomain = (TraceDomainComponent) element;
-                    session = (TraceSessionComponent) tmpDomain.getParent();
-
-                    // Add only TraceDomainComponent whose TraceSessionComponent parent is not destroyed
-                    if ((!session.isDestroyed())) {
-                        domain = tmpDomain;
-                    }
-                }
-            }
-        }
-
-        boolean isEnabled = domain != null;
-
-        fLock.lock();
-        try {
-            fParam = null;
-            if (isEnabled) {
-                fParam = new DomainCommandParameter(checkNotNull(session), checkNotNull(domain));
-            }
-        } finally {
-            fLock.unlock();
-        }
-
-        return isEnabled;
-    }
-}
index e2f3b6baee544ed6eeb9f181f66cca1c405f143f..4f804f10a0f1f9749744abf4ca651e12947f6b8a 100644 (file)
@@ -108,9 +108,6 @@ public final class Messages extends NLS {
     public static String TraceControl_AddContextJob;
     public static String TraceControl_AddContextFailure;
 
-    public static String TraceControl_AddCalibrateJob;
-    public static String TraceControl_AddCalibrateFailure;
-
     public static String TraceControl_RecordSnapshotJob;
     public static String TraceControl_RecordSnapshotFailure;
 
index 0d92d9626bb341be3dd1c39100d11a92a01543d2..c39dede9dace38e45730f625c788bfdf9a983f22 100644 (file)
@@ -90,9 +90,6 @@ TraceControl_GetContextFailure=Command to get available contexts failed
 TraceControl_AddContextJob=Adding Contexts...
 TraceControl_AddContextFailure=Command to add contexts failed
 
-TraceControl_AddCalibrateJob=Calibrating...
-TraceControl_AddCalibrateFailure=Command to calibrate failed
-
 TraceControl_RecordSnapshotJob=Record snapshot...
 TraceControl_RecordSnapshotFailure=Command to snapshot record failed
 
index 595e3d92e1b60b977a452c0495349310059ab8f6..ca8cbee133a639646de73c51f2e647dead69e6f4 100644 (file)
@@ -132,10 +132,6 @@ class NullControlService implements ILttngControlService {
     public void addContexts(String sessionName, String channelName, String eventName, boolean isKernel, List<String> contexts, IProgressMonitor monitor) throws ExecutionException {
     }
 
-    @Override
-    public void calibrate(boolean isKernel, IProgressMonitor monitor) throws ExecutionException {
-    }
-
     @Override
     public void recordSnapshot(String sessionName, IProgressMonitor monitor) throws ExecutionException {
     }
index 3f2cc4ab9c9b42925988405f42e6cbb8d63ec836..d1441f09198749e128573449a362a55ce93349c2 100644 (file)
@@ -285,15 +285,4 @@ public class TraceDomainComponent extends TraceControlComponent {
                 isKernel(), contexts, monitor);
     }
 
-    /**
-     * Executes calibrate command to quantify LTTng overhead.
-     *
-     * @param monitor
-     *            - a progress monitor
-     * @throws ExecutionException
-     *             If the command fails
-     */
-    public void calibrate(IProgressMonitor monitor) throws ExecutionException {
-        getControlService().calibrate(isKernel(), monitor);
-    }
 }
index 675111e9ce5f9ae9fd4b9b87f340edacb51e146f..48c59dc246c370b143eb95d5e980c3bc91970488 100644 (file)
@@ -362,19 +362,6 @@ public interface ILttngControlService {
             String eventName, boolean isKernel, List<String> contexts,
             IProgressMonitor monitor) throws ExecutionException;
 
-    /**
-     * Executes calibrate command to quantify LTTng overhead.
-     *
-     * @param isKernel
-     *            - a flag for indicating kernel or UST.
-     * @param monitor
-     *            - a progress monitor
-     * @throws ExecutionException
-     *             If the command fails
-     */
-    void calibrate(boolean isKernel, IProgressMonitor monitor)
-            throws ExecutionException;
-
     /**
      * Records a snapshot.
      *
index e7e6f456675a51959e30f4d0fc5c99e887874ed1..378504ed51e8d46d34b9f84e36d68a735ba8b14b 100644 (file)
@@ -993,21 +993,6 @@ public class LTTngControlService implements ILttngControlService {
 
     }
 
-    @Override
-    public void calibrate(boolean isKernel, IProgressMonitor monitor) throws ExecutionException {
-        ICommandInput command = createCommand(LTTngControlServiceConstants.COMMAND_CALIBRATE);
-
-        if (isKernel) {
-            command.add(LTTngControlServiceConstants.OPTION_KERNEL);
-        } else {
-            command.add(LTTngControlServiceConstants.OPTION_UST);
-        }
-
-        command.add(LTTngControlServiceConstants.OPTION_FUNCTION_PROBE);
-
-        executeCommand(command, monitor);
-    }
-
     @Override
     public void recordSnapshot(String sessionName, IProgressMonitor monitor)
             throws ExecutionException {
index 4511e75c2189945f35aeab42eb63d7411cec1abd..eb0d87dab7a85872eeb49741954368bc6460501c 100644 (file)
@@ -121,10 +121,6 @@ public interface LTTngControlServiceConstants {
      * Command to add a context to channels and/or events
      */
     String COMMAND_ADD_CONTEXT = "add-context"; //$NON-NLS-1$
-    /**
-     * Command to execute calibrate command to quantify LTTng overhead
-     */
-    String COMMAND_CALIBRATE = "calibrate"; //$NON-NLS-1$
     /**
      * Command to execute sub-command snapshot
      */
This page took 0.038901 seconds and 5 git commands to generate.