tmf: Add an ID to each state system that gets built
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.kernel.core.tests / src / org / eclipse / linuxtools / lttng2 / kernel / core / tests / headless / BasicStateSystemExample.java
index 50b165e4b10cf1f36b1a5eee879e2173ae55edcc..7ef729889d9d0d21443281f1e55c6731665c355e 100644 (file)
@@ -43,7 +43,8 @@ public class BasicStateSystemExample {
         try {
             File newStateFile = new File("/tmp/helloworldctf.ht"); //$NON-NLS-1$
             IStateChangeInput input = new CtfKernelStateInput(CtfTestFiles.getTestTrace());
-            ITmfStateSystem ss = StateSystemManager.loadStateHistory(newStateFile, input, true);
+            String name = "test-ss"; //$NON-NLS-1$
+            ITmfStateSystem ss = StateSystemManager.loadStateHistory(newStateFile, input, name, true);
 
             requestExample(ss);
         } catch (TmfTraceException e) {
This page took 0.023776 seconds and 5 git commands to generate.