diff options
author | Alexandre Montplaisir | 2013-08-15 05:38:14 +0000 |
---|---|---|
committer | Alexandre Montplaisir | 2013-09-03 17:51:22 +0000 |
commit | d5246571df8141e24a44ed8860f1202e5d5fc3af (patch) | |
tree | 24f9d89d68df8761aba4a3744adfe1ebd85fe3ba /lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/ctfadaptor/CtfTmfEvent.java | |
parent | d379142c098f296291807f21f721cf60fb123401 (diff) | |
download | org.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.java | 2 |
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 { // ------------------------------------------------------------------------ |