Provide default createSession() factory method
[lttng-ust-java-tests.git] / src / test / java / org / lttng / tools / utils / LttngUtils.java
index 3c1a83f385cd8c5f802364aadc6a7f78f79876ce..de7b2330c679a892d817f8403ee23c27d3b4fa54 100644 (file)
@@ -78,7 +78,7 @@ public final class LttngUtils {
      *         was an error
      */
     public static boolean checkForLttngTools(Domain domain) {
-        try (ILttngSession session = ILttngSession.newCommandLineSession(null, domain)) {
+        try (ILttngSession session = ILttngSession.createSession(null, domain)) {
             boolean ret1 = session.enableAllEvents();
             boolean ret2 = session.start();
             boolean ret3 = session.stop();
This page took 0.022712 seconds and 4 git commands to generate.