From 2a2f1379624a9bb163b071c35fd4532ba2bf9cca Mon Sep 17 00:00:00 2001 From: Matthew Khouzam Date: Tue, 10 Apr 2012 18:04:29 -0400 Subject: [PATCH] Add support for offsets in event creation --- .../eclipse/linuxtools/tmf/core/ctfadaptor/CtfTmfEvent.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/ctfadaptor/CtfTmfEvent.java b/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/ctfadaptor/CtfTmfEvent.java index 76a325e0a5..76d337ea0e 100644 --- a/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/ctfadaptor/CtfTmfEvent.java +++ b/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(); -- 2.34.1