Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Montplaisir2013-08-15 05:38:14 +0000
committerAlexandre Montplaisir2013-09-03 17:51:22 +0000
commitd5246571df8141e24a44ed8860f1202e5d5fc3af (patch)
tree24f9d89d68df8761aba4a3744adfe1ebd85fe3ba /lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/ctfadaptor/CtfTmfEvent.java
parentd379142c098f296291807f21f721cf60fb123401 (diff)
downloadorg.eclipse.linuxtools-d5246571df8141e24a44ed8860f1202e5d5fc3af.tar.gz
org.eclipse.linuxtools-d5246571df8141e24a44ed8860f1202e5d5fc3af.tar.xz
org.eclipse.linuxtools-d5246571df8141e24a44ed8860f1202e5d5fc3af.zip
ctf: Use "meta events" for lost events (bug 408373)
Instead of sending one event object for every single event reported as lost in a CTF trace, only send one CTFEvent indicating how many events were lost, in which time range. On the TMF (ctfadaptor) side, we add a new CtfTmfLostEvent class to wrap those. This way, only one entry shows up in the Events table, indicating how many events were lost at that point in the trace. Change-Id: I0c70ec2d5fc77134b67426d053a4d2353e710ab8 Signed-off-by: Simon Delisle <simon.delisle@ericsson.com> Signed-off-by: Jean-Christian Kouamé <kadjo.gwandy.jean-christian.kouame@ericsson.com> Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im> Reviewed-on: https://git.eclipse.org/r/15491 IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com> Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com> Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Diffstat (limited to 'lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/ctfadaptor/CtfTmfEvent.java')
-rw-r--r--lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/ctfadaptor/CtfTmfEvent.java2
1 files changed, 1 insertions, 1 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 ae002a0cc9..bc28e4ad91 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
@@ -35,7 +35,7 @@ import org.eclipse.linuxtools.tmf.core.trace.ITmfContext;
* @author Alexandre Montplaisir
* @since 2.0
*/
-public final class CtfTmfEvent extends TmfEvent
+public class CtfTmfEvent extends TmfEvent
implements ITmfSourceLookup, ITmfModelLookup, ITmfCustomAttributes {
// ------------------------------------------------------------------------

Back to the top