Add support for filter feature of LTTng Tools 2.1
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.ui / src / org / eclipse / linuxtools / internal / lttng2 / ui / views / control / service / ILttngControlService.java
index 753150de0a041e4e8334e26d8b844b70557f1945..4499a09dd9c30305f85e54433c87f4d92b0915c8 100644 (file)
@@ -37,6 +37,14 @@ public interface ILttngControlService {
      */
     public String getVersion();
 
+    /**
+     * Checks if given version is supported by this ILTTngControlService implementation.
+     *
+     * @param version The version to check
+     * @return <code>true</code> if version is supported else <code>false</code>
+     */
+    public boolean isVersionSupported(String version);
+
     /**
      * Retrieves the existing sessions names from the node.
      *
@@ -206,15 +214,19 @@ public interface ILttngControlService {
      *            0)for all events .
      * @param isKernel
      *            - a flag for indicating kernel or UST.
+     * @param filterExpression
+     *            - a filter expression
      * @param monitor
      *            - a progress monitor
      * @throws ExecutionException
      *             If the command fails
      */
     public void enableEvents(String sessionName, String channelName,
-            List<String> eventNames, boolean isKernel, IProgressMonitor monitor)
+            List<String> eventNames, boolean isKernel, String filterExpression,
+            IProgressMonitor monitor)
             throws ExecutionException;
 
+
     /**
      * Enables all syscall events.
      *
@@ -265,6 +277,8 @@ public interface ILttngControlService {
      *            - a log level type
      * @param level
      *            - a log level
+     * @param filterExpression
+     *            - a filter expression
      * @param monitor
      *            - a progress monitor
      * @throws ExecutionException
@@ -272,6 +286,7 @@ public interface ILttngControlService {
      */
     public void enableLogLevel(String sessionName, String channelName,
             String eventName, LogLevelType logLevelType, TraceLogLevel level,
+            String filterExpression,
             IProgressMonitor monitor) throws ExecutionException;
 
     /**
This page took 0.024851 seconds and 5 git commands to generate.