| author | Matthew Khouzam | 2012-04-10 18:04:29 (EDT) |
|---|---|---|
| committer | Francois Chouinard | 2012-04-16 14:20:29 (EDT) |
| commit | a3fcc17f5102de27f1d2e4cd71f77952f944c859 (patch) (side-by-side diff) | |
| tree | 96de4cd8868b66f1a546ea98edfe21221cede807 | |
| parent | 7a47bb780be058a2ab9f47b22cd141f808a5580c (diff) | |
| download | org.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.java | 4 |
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(); |

