Fixed a number of annotation warnings
authorFrancois Chouinard <fchouinard@gmail.com>
Mon, 1 Mar 2010 19:16:30 +0000 (19:16 +0000)
committerFrancois Chouinard <fchouinard@gmail.com>
Mon, 1 Mar 2010 19:16:30 +0000 (19:16 +0000)
69 files changed:
org.eclipse.linuxtools.lttng.jni/src/org/eclipse/linuxtools/lttng/jni/JniMarker.java
org.eclipse.linuxtools.lttng.jni/src/org/eclipse/linuxtools/lttng/jni/JniParser.java
org.eclipse.linuxtools.lttng.jni/src/org/eclipse/linuxtools/lttng/jni/JniTrace.java
org.eclipse.linuxtools.lttng.jni/src/org/eclipse/linuxtools/lttng/jni/JniTracefile.java
org.eclipse.linuxtools.lttng.jni/src/org/eclipse/linuxtools/lttng/jni/factory/JniTraceVersion.java
org.eclipse.linuxtools.lttng.jni/src/org/eclipse/linuxtools/lttng/jni_v2_3/JniMarker_v2_3.java
org.eclipse.linuxtools.lttng.jni/src/org/eclipse/linuxtools/lttng/jni_v2_3/JniTrace_v2_3.java
org.eclipse.linuxtools.lttng.jni/src/org/eclipse/linuxtools/lttng/jni_v2_3/JniTracefile_v2_3.java
org.eclipse.linuxtools.lttng.jni/src/org/eclipse/linuxtools/lttng/jni_v2_5/JniMarker_v2_5.java
org.eclipse.linuxtools.lttng.jni/src/org/eclipse/linuxtools/lttng/jni_v2_5/JniTrace_v2_5.java
org.eclipse.linuxtools.lttng.jni/src/org/eclipse/linuxtools/lttng/jni_v2_5/JniTracefile_v2_5.java
org.eclipse.linuxtools.lttng.jni/src/org/eclipse/linuxtools/lttng/jni_v2_6/JniMarker_v2_6.java
org.eclipse.linuxtools.lttng.jni/src/org/eclipse/linuxtools/lttng/jni_v2_6/JniTrace_v2_6.java
org.eclipse.linuxtools.lttng.jni/src/org/eclipse/linuxtools/lttng/jni_v2_6/JniTracefile_v2_6.java
org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/block_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/fd_state_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/fs_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/global_state_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/input_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/ipc_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/irq_state_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/jbd2_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/kernel_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/metadata_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/mm_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/module_state_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/net_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/netif_state_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/pm_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/rcu_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/softirq_state_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/swap_state_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/syscall_state_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/task_state_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/userspace_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/vm_state_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/block_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/fd_state_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/fs_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/global_state_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/input_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/ipc_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/irq_state_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/jbd2_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/kernel_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/metadata_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/mm_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/module_state_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/net_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/netif_state_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/pm_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/rcu_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/softirq_state_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/swap_state_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/syscall_state_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/task_state_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/userspace_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/vm_state_0 [new file with mode: 0644]
org.eclipse.linuxtools.lttng.ui.tests/.classpath
org.eclipse.linuxtools.lttng.ui.tests/META-INF/MANIFEST.MF
org.eclipse.linuxtools.lttng.ui.tests/build.properties
org.eclipse.linuxtools.lttng.ui.tests/stubs/org/eclipse/linuxtools/lttng/stubs/LTTngEventParserStub.java
org.eclipse.linuxtools.lttng.ui.tests/stubs/org/eclipse/linuxtools/lttng/stubs/LTTngTraceStub.java
org.eclipse.linuxtools.lttng/src/org/eclipse/linuxtools/lttng/state/LttngStateInputRef.java
org.eclipse.linuxtools.lttng/src/org/eclipse/linuxtools/lttng/state/StateStacksHandler.java
org.eclipse.linuxtools.lttng/src/org/eclipse/linuxtools/lttng/state/model/LttngTrapState.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/TmfEventsView.java
org.eclipse.linuxtools.tmf/src/org/eclipse/linuxtools/tmf/experiment/TmfExperimentContext.java
org.eclipse.linuxtools.tmf/src/org/eclipse/linuxtools/tmf/trace/TmfTraceContext.java

index d9785e20b4a14c4155cc2d1a7225f489345a6864..d08bd735612ff57556bf066619d0b869f8a11280 100644 (file)
@@ -132,7 +132,6 @@ public abstract class JniMarker extends Jni_C_Common
      * @param markerName        Name of the parent marker
      * @param markerFieldPtr    C Pointer (converted in long) to marker_field C Structure
      */
-    @SuppressWarnings("unused")
     private void addMarkerFieldFromC(String markerFieldName, long markerFieldPtr) {
         // Create a new Jaf_markerField object and insert it in the map
         // the maker field fill itself with LTT data while being constructed
index 9869e14b66d03fdd5688278c0fc3ef45615cd731..bcd4f1040862a780da25373e88a8a6eeaa7ab63f 100644 (file)
@@ -162,7 +162,6 @@ public abstract class JniParser extends Jni_C_Common
      * @param stringToAdd   The parsed data to add
      * @param formatToAdd   The format of the raw data
      */
-    @SuppressWarnings("unused")
     static private void addStringToParsingFromC(Object contentHolder, String stringToAdd) {
         ((ParsedObjectContent)contentHolder).setData( stringToAdd);
     }
@@ -179,7 +178,6 @@ public abstract class JniParser extends Jni_C_Common
      * @param pointerToAdd  The parsed data to add (in 64 bits long!)
      * @param formatToAdd   The format of the raw data
      */
-    @SuppressWarnings("unused")
     static private void addLongPointerToParsingFromC(Object contentHolder, long pointerToAdd) {
         ((ParsedObjectContent)contentHolder).setData( new Jni_C_Pointer((long) pointerToAdd));
     }
@@ -196,7 +194,6 @@ public abstract class JniParser extends Jni_C_Common
      * @param pointerToAdd  The parsed data to add (converted in 64 bits long!)
      * @param formatToAdd   The format of the raw data
      */
-    @SuppressWarnings("unused")
     static private void addIntPointerToParsingFromC(Object contentHolder, long pointerToAdd) {
         ((ParsedObjectContent)contentHolder).setData( new Jni_C_Pointer((int) pointerToAdd));
     }
@@ -213,7 +210,6 @@ public abstract class JniParser extends Jni_C_Common
      * @param shortToAdd    The parsed data to add
      * @param formatToAdd   The format of the raw data
      */
-    @SuppressWarnings("unused")
     static private void addShortToParsingFromC(Object contentHolder, short shortToAdd) {
         ((ParsedObjectContent)contentHolder).setData( new Short(shortToAdd));
     }
@@ -230,7 +226,6 @@ public abstract class JniParser extends Jni_C_Common
      * @param intToAdd      The parsed data to add
      * @param formatToAdd   The format of the raw data
      */
-    @SuppressWarnings("unused")
     static private void addIntegerToParsingFromC(Object contentHolder, int intToAdd) {
         ((ParsedObjectContent)contentHolder).setData( new Integer(intToAdd));
     }
@@ -247,7 +242,6 @@ public abstract class JniParser extends Jni_C_Common
      * @param longToAdd     The parsed data to add
      * @param formatToAdd   The format of the raw data
      */
-    @SuppressWarnings("unused")
     static private void addLongToParsingFromC(Object contentHolder, long longToAdd) {
         ((ParsedObjectContent)contentHolder).setData( new Long(longToAdd));
     }
@@ -264,7 +258,6 @@ public abstract class JniParser extends Jni_C_Common
      * @param floatToAdd    The parsed data to add
      * @param formatToAdd   The format of the raw data
      */
-    @SuppressWarnings("unused")
     static private void addFloatToParsingFromC(Object contentHolder, float floatToAdd) {
         ((ParsedObjectContent)contentHolder).setData( new Float(floatToAdd));
     }
@@ -282,7 +275,6 @@ public abstract class JniParser extends Jni_C_Common
      * @param doubleToAdd   The parsed data to add
      * @param formatToAdd   The format of the raw data
      */
-    @SuppressWarnings("unused")
     static private void addDoubleToParsingFromC(Object contentHolder, double doubleToAdd) {
         ((ParsedObjectContent)contentHolder).setData( new Double(doubleToAdd));
     }
index 34492ec1c0205728e1794dfb6a4a158ce8c292f3..2dbe6c7c94ff219c173f98441f5c6893d04bc96d 100644 (file)
@@ -207,7 +207,8 @@ public abstract class JniTrace extends Jni_C_Common {
     }
     
     
-    public void finalize() {
+    @Override
+       public void finalize() {
        // If the trace is open, close it
         if (thisTracePtr.getPointer() != NULL) {
             closeTrace();
index 4f064921ccad634ba01753ff5cb711fecc3fe57c..d5bdc54b49800ddfe10712b512dcec04fd5f5aa4 100644 (file)
@@ -267,7 +267,6 @@ public abstract class JniTracefile extends Jni_C_Common {
      * @param markerId          Id of the marker (int)
      * @param markerInfoPtr     C Pointer to a marker_info C structure 
      */
-    @SuppressWarnings("unused")
     private void addMarkersFromC(int markerId, long markerInfoPtr) {
         // Create a new tracefile object and insert it in the map
         // the tracefile fill itself with LTT data while being constructed
index 9e2854faf6551481a9a24a9623bd63746ce73845..3f6797606a028c238048952164ffa74e03827451 100644 (file)
@@ -18,7 +18,6 @@ public class JniTraceVersion {
        private int majorNumber = 0;
        private int minorNumber = 0;
        
-       @SuppressWarnings("unused")
        private JniTraceVersion() {
        }
        
@@ -52,12 +51,12 @@ public class JniTraceVersion {
                return minorNumber;
        }
        
-       @SuppressWarnings("unused")
     private void setTraceVersionFromC(int newMajor, int newMinor) {
                majorNumber = newMajor;
                minorNumber = newMinor;
     }
        
+       @Override
        public String toString() {
                return majorNumber + "." + minorNumber;
        }
index 85bba7a70ef08f70530d8e700a00a26b8c05a4a7..06fed6e7506605208ca807c63b8eac06480b1983 100644 (file)
@@ -22,7 +22,8 @@ public class JniMarker_v2_3 extends JniMarker {
     }
        
     
-    public JniMarkerField allocateNewJniMarkerField(Jni_C_Pointer newMarkerFieldPtr) throws JniException {
+    @Override
+       public JniMarkerField allocateNewJniMarkerField(Jni_C_Pointer newMarkerFieldPtr) throws JniException {
        return new JniMarkerField_v2_3(newMarkerFieldPtr);
     }
     
index 567b2e4d0808a475803b4e9bcd60dc5c420e720c..887c60f5b7811b12d18cc511b84251391175d174 100644 (file)
@@ -7,6 +7,7 @@ import org.eclipse.linuxtools.lttng.jni.exception.JniException;
 
 public class JniTrace_v2_3 extends JniTrace {
        
+       @SuppressWarnings("unused")
        private static final String LIBRARY_NAME = "liblttvtraceread2.3.so";
        
        protected JniTrace_v2_3() {
@@ -31,7 +32,8 @@ public class JniTrace_v2_3 extends JniTrace {
     }
     
     
-    public boolean initializeLibrary() {
+    @Override
+       public boolean initializeLibrary() {
        // *** FIXME ***
        // To change as soon as the library will be able to load multiple version at once
        //return ltt_initializeHandle(LIBRARY_NAME);
@@ -41,7 +43,8 @@ public class JniTrace_v2_3 extends JniTrace {
     }
     
     
-    public JniTracefile allocateNewJniTracefile(Jni_C_Pointer newPtr, JniTrace newParentTrace) throws JniException {
+    @Override
+       public JniTracefile allocateNewJniTracefile(Jni_C_Pointer newPtr, JniTrace newParentTrace) throws JniException {
        return new JniTracefile_v2_3(newPtr, newParentTrace);
     }
     
index 4c645eff946ce22fa30ca8f0ec49b74c51163ecc..1e2da2863208fb018b0497f161a977b4d9b024eb 100644 (file)
@@ -24,12 +24,14 @@ public class JniTracefile_v2_3 extends JniTracefile {
     }
        
     
-    public JniEvent allocateNewJniEvent(Jni_C_Pointer newEventPtr, HashMap<Integer, JniMarker> newMarkersMap, JniTracefile newParentTracefile) throws JniException {
+    @Override
+       public JniEvent allocateNewJniEvent(Jni_C_Pointer newEventPtr, HashMap<Integer, JniMarker> newMarkersMap, JniTracefile newParentTracefile) throws JniException {
        return new JniEvent_v2_3(newEventPtr, newMarkersMap, newParentTracefile);
     }
     
     
-    public JniMarker allocateNewJniMarker(Jni_C_Pointer newMarkerPtr) throws JniException {
+    @Override
+       public JniMarker allocateNewJniMarker(Jni_C_Pointer newMarkerPtr) throws JniException {
        return new JniMarker_v2_3(newMarkerPtr);
     }
     
index 0ff3acde8731fea7697713e6901f805a997201e2..56207829440df5453ec86e59ba42fe7d3114305d 100644 (file)
@@ -22,7 +22,8 @@ public class JniMarker_v2_5 extends JniMarker {
     }
        
     
-    public JniMarkerField allocateNewJniMarkerField(Jni_C_Pointer newMarkerFieldPtr) throws JniException {
+    @Override
+       public JniMarkerField allocateNewJniMarkerField(Jni_C_Pointer newMarkerFieldPtr) throws JniException {
        return new JniMarkerField_v2_5(newMarkerFieldPtr);
     }
     
index 43a90515cb0e0203d44f18f019f0fe990ce9ff6a..81ca133bb82577afac8d38bba9895cb1ee8a7ff8 100644 (file)
@@ -7,6 +7,7 @@ import org.eclipse.linuxtools.lttng.jni.exception.JniException;
 
 public class JniTrace_v2_5 extends JniTrace {
        
+       @SuppressWarnings("unused")
        private static final String LIBRARY_NAME = "liblttvtraceread2.5.so";
        
        protected JniTrace_v2_5() {
@@ -31,7 +32,8 @@ public class JniTrace_v2_5 extends JniTrace {
     }
     
     
-    public boolean initializeLibrary() {
+    @Override
+       public boolean initializeLibrary() {
        // *** FIXME ***
        // To change as soon as the library will be able to load multiple version at once
        //return ltt_initializeHandle(LIBRARY_NAME);
@@ -40,7 +42,8 @@ public class JniTrace_v2_5 extends JniTrace {
        return true;
     }
     
-    public JniTracefile allocateNewJniTracefile(Jni_C_Pointer newPtr, JniTrace newParentTrace) throws JniException {
+    @Override
+       public JniTracefile allocateNewJniTracefile(Jni_C_Pointer newPtr, JniTrace newParentTrace) throws JniException {
        return new JniTracefile_v2_5(newPtr, newParentTrace);
     }
     
index 6f4518bf474767536618f68b75653dcad7726dbe..60b07bac2ad30341b9a2b6a35b3d550e17af89c8 100644 (file)
@@ -24,12 +24,14 @@ public class JniTracefile_v2_5 extends JniTracefile {
     }
        
     
-    public JniEvent allocateNewJniEvent(Jni_C_Pointer newEventPtr, HashMap<Integer, JniMarker> newMarkersMap, JniTracefile newParentTracefile) throws JniException {
+    @Override
+       public JniEvent allocateNewJniEvent(Jni_C_Pointer newEventPtr, HashMap<Integer, JniMarker> newMarkersMap, JniTracefile newParentTracefile) throws JniException {
        return new JniEvent_v2_5(newEventPtr, newMarkersMap, newParentTracefile);
     }
     
     
-    public JniMarker allocateNewJniMarker(Jni_C_Pointer newMarkerPtr) throws JniException {
+    @Override
+       public JniMarker allocateNewJniMarker(Jni_C_Pointer newMarkerPtr) throws JniException {
        return new JniMarker_v2_5(newMarkerPtr);
     }
     
index f20a3cd4da0a1e50ba8368363f597ed18aebe31d..0d233269a86be567a46bdb3271a84b6607bee1c0 100644 (file)
@@ -22,7 +22,8 @@ public class JniMarker_v2_6 extends JniMarker {
     }
        
     
-    public JniMarkerField allocateNewJniMarkerField(Jni_C_Pointer newMarkerFieldPtr) throws JniException {
+    @Override
+       public JniMarkerField allocateNewJniMarkerField(Jni_C_Pointer newMarkerFieldPtr) throws JniException {
        return new JniMarkerField_v2_6(newMarkerFieldPtr);
     }
     
index 476cb9aa06fd71ba448f35cf27d6920d4d100aeb..2a1dee4f244c7189960410bf57403f665c3abf96 100644 (file)
@@ -7,6 +7,7 @@ import org.eclipse.linuxtools.lttng.jni.exception.JniException;
 
 public class JniTrace_v2_6 extends JniTrace {
        
+       @SuppressWarnings("unused")
        private static final String LIBRARY_NAME = "liblttvtraceread2.6.so";
        
        protected JniTrace_v2_6() {
@@ -31,7 +32,8 @@ public class JniTrace_v2_6 extends JniTrace {
     }
     
     
-    public boolean initializeLibrary() {
+    @Override
+       public boolean initializeLibrary() {
        // *** FIXME ***
        // To change as soon as the library will be able to load multiple version at once
        //return ltt_initializeHandle(LIBRARY_NAME);
@@ -40,7 +42,8 @@ public class JniTrace_v2_6 extends JniTrace {
        return true;
     }
     
-    public JniTracefile allocateNewJniTracefile(Jni_C_Pointer newPtr, JniTrace newParentTrace) throws JniException {
+    @Override
+       public JniTracefile allocateNewJniTracefile(Jni_C_Pointer newPtr, JniTrace newParentTrace) throws JniException {
        return new JniTracefile_v2_6(newPtr, newParentTrace);
     }
     
index 6404ae41b7da56c9422cc58f6a75263da72a8b82..6087fdc5d887c7979cb3e2ff12343ee1915e82d9 100644 (file)
@@ -24,12 +24,14 @@ public class JniTracefile_v2_6 extends JniTracefile {
     }
        
     
-    public JniEvent allocateNewJniEvent(Jni_C_Pointer newEventPtr, HashMap<Integer, JniMarker> newMarkersMap, JniTracefile newParentTracefile) throws JniException {
+    @Override
+       public JniEvent allocateNewJniEvent(Jni_C_Pointer newEventPtr, HashMap<Integer, JniMarker> newMarkersMap, JniTracefile newParentTracefile) throws JniException {
        return new JniEvent_v2_6(newEventPtr, newMarkersMap, newParentTracefile);
     }
     
     
-    public JniMarker allocateNewJniMarker(Jni_C_Pointer newMarkerPtr) throws JniException {
+    @Override
+       public JniMarker allocateNewJniMarker(Jni_C_Pointer newMarkerPtr) throws JniException {
        return new JniMarker_v2_6(newMarkerPtr);
     }
     
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/block_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/block_0
new file mode 100644 (file)
index 0000000..5f1f849
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/block_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/fd_state_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/fd_state_0
new file mode 100644 (file)
index 0000000..25731fb
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/fd_state_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/fs_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/fs_0
new file mode 100644 (file)
index 0000000..0c6f8d4
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/fs_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/global_state_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/global_state_0
new file mode 100644 (file)
index 0000000..e44498e
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/global_state_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/input_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/input_0
new file mode 100644 (file)
index 0000000..c1e9a33
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/input_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/ipc_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/ipc_0
new file mode 100644 (file)
index 0000000..1c18a5f
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/ipc_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/irq_state_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/irq_state_0
new file mode 100644 (file)
index 0000000..3d44102
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/irq_state_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/jbd2_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/jbd2_0
new file mode 100644 (file)
index 0000000..5f1f849
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/jbd2_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/kernel_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/kernel_0
new file mode 100644 (file)
index 0000000..e9aea48
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/kernel_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/metadata_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/metadata_0
new file mode 100644 (file)
index 0000000..b9d02c8
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/metadata_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/mm_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/mm_0
new file mode 100644 (file)
index 0000000..583a19e
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/mm_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/module_state_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/module_state_0
new file mode 100644 (file)
index 0000000..34dd484
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/module_state_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/net_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/net_0
new file mode 100644 (file)
index 0000000..5f1f849
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/net_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/netif_state_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/netif_state_0
new file mode 100644 (file)
index 0000000..61e8d48
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/netif_state_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/pm_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/pm_0
new file mode 100644 (file)
index 0000000..1de854a
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/pm_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/rcu_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/rcu_0
new file mode 100644 (file)
index 0000000..f23f4d0
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/rcu_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/softirq_state_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/softirq_state_0
new file mode 100644 (file)
index 0000000..9b0175f
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/softirq_state_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/swap_state_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/swap_state_0
new file mode 100644 (file)
index 0000000..106d11e
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/swap_state_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/syscall_state_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/syscall_state_0
new file mode 100644 (file)
index 0000000..2f86ccc
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/syscall_state_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/task_state_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/task_state_0
new file mode 100644 (file)
index 0000000..0500381
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/task_state_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/userspace_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/userspace_0
new file mode 100644 (file)
index 0000000..0ced16d
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/userspace_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/vm_state_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/vm_state_0
new file mode 100644 (file)
index 0000000..949491f
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15316events_nolost_newformat/vm_state_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/block_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/block_0
new file mode 100644 (file)
index 0000000..349b684
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/block_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/fd_state_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/fd_state_0
new file mode 100644 (file)
index 0000000..6ddab99
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/fd_state_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/fs_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/fs_0
new file mode 100644 (file)
index 0000000..bcb5a92
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/fs_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/global_state_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/global_state_0
new file mode 100644 (file)
index 0000000..3768df3
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/global_state_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/input_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/input_0
new file mode 100644 (file)
index 0000000..2558157
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/input_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/ipc_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/ipc_0
new file mode 100644 (file)
index 0000000..2558157
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/ipc_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/irq_state_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/irq_state_0
new file mode 100644 (file)
index 0000000..92396db
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/irq_state_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/jbd2_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/jbd2_0
new file mode 100644 (file)
index 0000000..2558157
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/jbd2_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/kernel_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/kernel_0
new file mode 100644 (file)
index 0000000..1a83a3c
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/kernel_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/metadata_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/metadata_0
new file mode 100644 (file)
index 0000000..2d00d06
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/metadata_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/mm_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/mm_0
new file mode 100644 (file)
index 0000000..addf51b
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/mm_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/module_state_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/module_state_0
new file mode 100644 (file)
index 0000000..7e2fbaa
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/module_state_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/net_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/net_0
new file mode 100644 (file)
index 0000000..84065ae
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/net_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/netif_state_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/netif_state_0
new file mode 100644 (file)
index 0000000..07560e4
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/netif_state_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/pm_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/pm_0
new file mode 100644 (file)
index 0000000..471396f
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/pm_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/rcu_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/rcu_0
new file mode 100644 (file)
index 0000000..f924e97
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/rcu_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/softirq_state_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/softirq_state_0
new file mode 100644 (file)
index 0000000..482cad3
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/softirq_state_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/swap_state_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/swap_state_0
new file mode 100644 (file)
index 0000000..ecfaeeb
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/swap_state_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/syscall_state_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/syscall_state_0
new file mode 100644 (file)
index 0000000..7e402af
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/syscall_state_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/task_state_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/task_state_0
new file mode 100644 (file)
index 0000000..dba778b
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/task_state_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/userspace_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/userspace_0
new file mode 100644 (file)
index 0000000..2558157
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/userspace_0 differ
diff --git a/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/vm_state_0 b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/vm_state_0
new file mode 100644 (file)
index 0000000..ae2d8b4
Binary files /dev/null and b/org.eclipse.linuxtools.lttng.tests/traceset/trace-15471events_nolost_newformat/vm_state_0 differ
index 64c5e31b7a264082f4c1dfdabb8097de820e66ce..978c0d27e1abd84300cd027a411b208517c28e4c 100644 (file)
@@ -3,5 +3,6 @@
        <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
        <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
        <classpathentry kind="src" path="src"/>
+       <classpathentry kind="src" path="stubs"/>
        <classpathentry kind="output" path="bin"/>
 </classpath>
index f0d7f0eae8e7ae1fc07a555afdc8d6a704b22c4e..bd6d7de636b939cc37ba6998d597d4446e2d42c0 100644 (file)
@@ -7,5 +7,6 @@ Bundle-RequiredExecutionEnvironment: J2SE-1.5
 Bundle-Vendor: %Bundle-Vendor
 Require-Bundle: org.junit,
  org.eclipse.linuxtools.lttng;bundle-version="0.2.0",
- org.eclipse.linuxtools.lttng.ui;bundle-version="0.2.0"
+ org.eclipse.linuxtools.lttng.ui;bundle-version="0.2.0",
+ org.eclipse.linuxtools.tmf;bundle-version="0.2.0"
 Bundle-Localization: plugin
index 33230c0457433436b076e9c0884002275ecff8a1..0a6de547fd0f4e11a271b40fd49bb2cac7d28b85 100644 (file)
@@ -1,4 +1,5 @@
-source.. = src/
+source.. = src/,\
+           stubs/
 output.. = bin/
 bin.includes = META-INF/,\
                .,\
index 8ad81c303520cab082ca76a66dac8ddf4ba58b47..480fd4b23bcf5463a372cc93f59b200014fadaa6 100644 (file)
@@ -17,7 +17,7 @@ import java.io.IOException;
 import org.eclipse.linuxtools.tmf.event.TmfEvent;
 import org.eclipse.linuxtools.tmf.parser.ITmfEventParser;
 import org.eclipse.linuxtools.tmf.trace.ITmfTrace;
-import org.eclipse.linuxtools.tmf.trace.TmfContext;
+import org.eclipse.linuxtools.tmf.trace.TmfTraceContext;
 
 /**
  * <b><u>TmfEventParserStub</u></b>
@@ -26,7 +26,7 @@ import org.eclipse.linuxtools.tmf.trace.TmfContext;
  */
 public class LTTngEventParserStub implements ITmfEventParser {
 
-       public TmfEvent parseNextEvent(ITmfTrace stream, TmfContext context)
+       public TmfEvent parseNextEvent(ITmfTrace stream, TmfTraceContext context)
                        throws IOException {
                // TODO Auto-generated method stub
                return null;
index 91ba9941e59044281be4eeffa15c03ebfdcfb88a..ebe6b20184007b47432a9a2630a1955601bc6798 100644 (file)
@@ -19,11 +19,8 @@ import java.io.RandomAccessFile;
 import org.eclipse.linuxtools.lttng.event.LttngEvent;
 import org.eclipse.linuxtools.tmf.event.TmfEvent;
 import org.eclipse.linuxtools.tmf.parser.ITmfEventParser;
-import org.eclipse.linuxtools.tmf.trace.ITmfLocation;
-import org.eclipse.linuxtools.tmf.trace.ITmfTrace;
-import org.eclipse.linuxtools.tmf.trace.TmfContext;
-import org.eclipse.linuxtools.tmf.trace.TmfLocation;
 import org.eclipse.linuxtools.tmf.trace.TmfTrace;
+import org.eclipse.linuxtools.tmf.trace.TmfTraceContext;
 
 /**
  * <b><u>LTTngTraceStub</u></b>
@@ -62,23 +59,12 @@ public class LTTngTraceStub extends TmfTrace<LttngEvent> {
      * @throws FileNotFoundException
      */
     public LTTngTraceStub(String filename, int cacheSize) throws FileNotFoundException {
-        super(filename, LttngEvent.class, filename, cacheSize);
+        super(LttngEvent.class, filename, cacheSize);
         fTrace = new RandomAccessFile(filename, "r");
        fParser = new LTTngEventParserStub();
-//     indexTrace(true);
+       indexTrace(true);
     }
-    
-       public ITmfTrace createTraceCopy() {
-               ITmfTrace returnedValue = null;
-               try {
-                       returnedValue = new LTTngTraceStub(this.getName());
-               }
-               catch (FileNotFoundException e) {
-                       e.printStackTrace();
-               }
-               return returnedValue;
-       }
-    
+
     // ========================================================================
     // Accessors
     // ========================================================================
@@ -94,14 +80,12 @@ public class LTTngTraceStub extends TmfTrace<LttngEvent> {
     /* (non-Javadoc)
      * @see org.eclipse.linuxtools.tmf.eventlog.ITmfStreamLocator#seekLocation(java.lang.Object)
      */
-       @Override
-       @SuppressWarnings("unchecked")
-       public TmfContext seekLocation(ITmfLocation<?> location) {
-        TmfContext context = null;
+       public TmfTraceContext seekLocation(Object location) {
+        TmfTraceContext context = null;
                try {
                        synchronized(fTrace) {
-                       fTrace.seek((location != null) ? ((TmfLocation<Long>) location).getLocation() : 0);
-                       context = new TmfContext(getCurrentLocation(), 0);
+                       fTrace.seek((location != null) ? (Long) location : 0);
+                       context = new TmfTraceContext(getCurrentLocation(), 0);
 //                     TmfTraceContext context2 = new TmfTraceContext(getCurrentLocation(), 0);
 //                     TmfEvent event = parseEvent(context2);
 //                     context.setTimestamp(event.getTimestamp());
@@ -117,9 +101,9 @@ public class LTTngTraceStub extends TmfTrace<LttngEvent> {
      * @see org.eclipse.linuxtools.tmf.eventlog.ITmfStreamLocator#getCurrentLocation()
      */
     @Override
-       public ITmfLocation<?> getCurrentLocation() {
+       public Object getCurrentLocation() {
                try {
-                       return new TmfLocation<Long>(fTrace.getFilePointer());
+                       return new Long(fTrace.getFilePointer());
                } catch (IOException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
@@ -131,7 +115,7 @@ public class LTTngTraceStub extends TmfTrace<LttngEvent> {
         * @see org.eclipse.linuxtools.tmf.trace.ITmfTrace#parseEvent()
         */
        @Override
-       public TmfEvent parseEvent(TmfContext context) {
+       public TmfEvent parseEvent(TmfTraceContext context) {
                try {
                        // paserNextEvent updates the context
                        TmfEvent event = fParser.parseNextEvent(this, context);
index 2bb7bcea7cb50a6e122984a1ea56b014b6a1e7a6..42bb8c64923ed477d78bf0c526f5cb583de31103 100644 (file)
@@ -11,6 +11,7 @@
  *******************************************************************************/
 package org.eclipse.linuxtools.lttng.state;
 
+import org.eclipse.linuxtools.lttng.event.LttngEvent;
 import org.eclipse.linuxtools.lttng.state.model.ILttngStateInputRef;
 import org.eclipse.linuxtools.lttng.trace.LTTngTextTrace;
 import org.eclipse.linuxtools.lttng.trace.LTTngTrace;
@@ -30,12 +31,12 @@ public class LttngStateInputRef implements ILttngStateInputRef {
        // ========================================================================
        // Table data
        // =======================================================================
-       TmfTrace log = null;
+       TmfTrace<LttngEvent> log = null;
 
        // ========================================================================
        // Constructor
        // ========================================================================
-       LttngStateInputRef(TmfTrace log) {
+       LttngStateInputRef(TmfTrace<LttngEvent> log) {
                this.log = log;
                
                if ( log instanceof LTTngTrace) {
index ce64ab2b5d42b6a6125a90e3c516a6c322d816d2..8fa9669b49618740e02e9f3ff930ab4f162cebd7 100644 (file)
@@ -55,7 +55,7 @@ public class StateStacksHandler {
         * @param log
         * 
         */
-       void init(TmfTrace log) throws LttngStateException {
+       void init(TmfTrace<LttngEvent> log) throws LttngStateException {
                if (log == null) {
                        throw new LttngStateException("No TmfTrace object available!");
                }
index c61ec5b8e82e91957d1603f114c79a72f902f59a..94dba7db071b43ee84243dcf32d6383f89aca841 100644 (file)
@@ -78,6 +78,7 @@ public class LttngTrapState implements Cloneable {
                }
        }
        
+       @Override
        public String toString() {
                return "running : " + running;
        }
index 8f6ff97aae3590b7515783c62721d0291b38e092..7c04a59924048ea671f4021cd0fa0ae36e4848e9 100644 (file)
@@ -137,7 +137,8 @@ public class TmfEventsView extends TmfView {
         // Handle the table item requests 
         fTable.addSelectionListener(new SelectionAdapter() {
 
-               public void widgetSelected(SelectionEvent e) {
+               @Override
+                       public void widgetSelected(SelectionEvent e) {
                                TmfTimestamp ts = (TmfTimestamp) fTable.getSelection()[0].getData();
                                broadcast(new TmfTimeSynchSignal(fTable, ts));
                        }
index c868d0bc16ee383bde8f5413e149c191aa44fc87..01b48fd2b311b996fe4849d00041ee0568c86843 100644 (file)
@@ -36,6 +36,7 @@ public class TmfExperimentContext implements ITmfContext, Cloneable {
                fEvents   = new TmfEvent[fTraces.length];
        }
 
+       @Override
        public TmfExperimentContext clone() {
                try {
                        return (TmfExperimentContext) super.clone();
index 78cced43b7e92c47b0344681b5a9f34350d9ea0c..c38a4173228d5c85e63cc233bf8a8d37602849ad 100644 (file)
@@ -50,6 +50,7 @@ public class TmfTraceContext implements ITmfContext, Cloneable {
                this(other.location, other.rank);
        }
 
+       @Override
        public TmfTraceContext clone() {
                try {
                        return (TmfTraceContext) super.clone();
This page took 0.048924 seconds and 5 git commands to generate.