Add support for LTTng 2.0 command calibrate
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.ui / src / org / eclipse / linuxtools / internal / lttng2 / ui / views / control / service / ILttngControlService.java
index 2824c2f4b92e611e4c3d854c28843fcc45611896..86bf8d22c46556f16329374a454fe26e904d00f5 100644 (file)
@@ -178,5 +178,31 @@ public interface ILttngControlService {
      * @throws ExecutionException
      */
     public void disableEvent(String sessionName, String channelName, List<String> eventNames, boolean isKernel, IProgressMonitor monitor) throws ExecutionException;
-
+    
+    /**
+     * Gets all available context names to be added to channels/events.
+     * @param monitor
+     * @return the list of available contexts
+     */
+    public List<String> getContextList(IProgressMonitor monitor) throws ExecutionException;
+    
+    /**
+     * Add contexts to given channels and or events
+     * @param sessionName - a session name
+     * @param channelName - a channel name (null for all channels)
+     * @param eventName - a event name (null for all events)
+     * @param isKernel -  a flag for indicating kernel or UST.
+     * @param contexts - a list of name of contexts to add
+     * @param monitor - a progress monitor
+     * @throws ExecutionException
+     */
+    public void addContexts(String sessionName, String channelName, 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
+     */
+    public void calibrate(boolean isKernel, IProgressMonitor monitor) throws ExecutionException;
 }
This page took 0.024158 seconds and 5 git commands to generate.