| author | Geneviève Bastien | 2013-03-01 11:50:39 (EST) |
|---|---|---|
| committer | Alexandre Montplaisir | 2013-03-04 11:38:24 (EST) |
| commit | 7e74bb077af3e656e020ba5cb165cec8b372b955 (patch) (side-by-side diff) | |
| tree | 22548bda068d1b7475b0b781dad553f8f546b5d9 | |
| parent | efbafd25b23f6cda23656e98a92d575f19914099 (diff) | |
| download | org.eclipse.linuxtools-7e74bb077af3e656e020ba5cb165cec8b372b955.zip org.eclipse.linuxtools-7e74bb077af3e656e020ba5cb165cec8b372b955.tar.gz org.eclipse.linuxtools-7e74bb077af3e656e020ba5cb165cec8b372b955.tar.bz2 | |
tmf: Call parent before CtfTmfTrace specific initializationrefs/changes/83/10783/2
Some features need to have resources initialized before the CtfTmfTrace
starts fetching its events.
Change-Id: If3d638263713064e8b4be4e651e4e0e33c734e4e
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/10783
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
| -rw-r--r-- | lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/ctfadaptor/CtfTmfTrace.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/ctfadaptor/CtfTmfTrace.java b/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/ctfadaptor/CtfTmfTrace.java index c7981f6..d81825d 100644 --- a/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/ctfadaptor/CtfTmfTrace.java +++ b/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/ctfadaptor/CtfTmfTrace.java @@ -76,6 +76,8 @@ public class CtfTmfTrace extends TmfTrace implements ITmfEventParser { */ setCacheSize(); + super.initTrace(resource, path, eventType); + @SuppressWarnings("unused") CtfTmfEventType type; @@ -103,8 +105,6 @@ public class CtfTmfTrace extends TmfTrace implements ITmfEventParser { */ throw new TmfTraceException(e.getMessage(), e); } - - super.initTrace(resource, path, eventType); } /* (non-Javadoc) |

