aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Khouzam2012-04-10 18:04:29 (EDT)
committerFrancois Chouinard2012-04-16 14:20:29 (EDT)
commita3fcc17f5102de27f1d2e4cd71f77952f944c859 (patch)
tree96de4cd8868b66f1a546ea98edfe21221cede807
parent7a47bb780be058a2ab9f47b22cd141f808a5580c (diff)
downloadorg.eclipse.linuxtools-a3fcc17f5102de27f1d2e4cd71f77952f944c859.zip
org.eclipse.linuxtools-a3fcc17f5102de27f1d2e4cd71f77952f944c859.tar.gz
org.eclipse.linuxtools-a3fcc17f5102de27f1d2e4cd71f77952f944c859.tar.bz2
Add support for offsets in event creation
-rw-r--r--lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/ctfadaptor/CtfTmfEvent.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/ctfadaptor/CtfTmfEvent.java b/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/ctfadaptor/CtfTmfEvent.java
index 76a325e..76d337e 100644
--- a/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/ctfadaptor/CtfTmfEvent.java
+++ b/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/ctfadaptor/CtfTmfEvent.java
@@ -80,9 +80,7 @@ public final class CtfTmfEvent implements ITmfEvent {
}
/* Read the base event info */
- // FIXME restore once the CTF parser with clocks gets merged
- //Long offset = originTrace.getCTFTrace().getOffset();
- Long offset = 0L;
+ Long offset = originTrace.getCTFTrace().getOffset();
this.timestamp = eventDef.timestamp + offset;
this.sourceCPU = eventDef.getCPU();
this.typeId = eventDef.getDeclaration().getId();