Fix bug when tracefile is not aligned. Now supports exotic architectures.
[deliverable/tracecompass.git] / org.eclipse.linuxtools.ctf.core.tests / src / org / eclipse / linuxtools / ctf / core / tests / headless / ReadTrace.java
index 6f078863f866e26149345a60113680f5859eefa8..9f09b810fbe79f6bf7d50beae826877d9b842f18 100644 (file)
@@ -29,10 +29,10 @@ public class ReadTrace {
      */
     @SuppressWarnings("nls")
     public static void main(String[] args) {
-        final String TRACE_PATH = "Tests/traces/trace20m1";
+        final String TRACE_PATH = "/home/ematkho/lttng-traces/lt-hello-4175-20120405-092230";
 
         // Change this to enable text output
-        final boolean USE_TEXT = false;
+        final boolean USE_TEXT = true;
 
         final int LOOP_COUNT = 1;
 
@@ -70,7 +70,7 @@ public class ReadTrace {
                                 + trace.getOffset());
                         System.out.println(traceReader.getIndex() + ", "
                                 + output + ", " + ed.getDeclaration().getName()
-                                + ", " + ed.getCPU());
+                                + ", " + ed.getCPU() + ed.getFields().toString()) ;
                     }
 
                     traceReader.advance();
This page took 0.026201 seconds and 5 git commands to generate.