ctf: modify data-structure in CTF-Trace holding streams.
authorEtienne Bergeron <etienne.bergeron@gmail.com>
Tue, 10 Dec 2013 21:19:50 +0000 (16:19 -0500)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Mon, 16 Dec 2013 15:43:04 +0000 (10:43 -0500)
commit29a7d6eeaf00a20358ab5f26a6d8eaaca25f65ec
tree2d844f28f9c9846327e742b17030cba4f8a4ce72
parentbc19bff32fa5dcd43b718371f63a5e452e4faca1
ctf: modify data-structure in CTF-Trace holding streams.

CTF allows multiple events to have the same ID as long as
they are not part of the same stream.

Thus, a unique event is represented by <stream-id, event-id>
and not only by event-id.

In this case, the CTF-Trace contains multiple streams
but maps all event-id into the same map (without stream-id).

Back-references are always a bad design.
In a future patch-set, the plan is to remove
CTF-Trace from CTF-Stream.

Change-Id: If5fc50d8541b152938a96447087d88c78e35e959
Signed-off-by: Etienne Bergeron <etienne.bergeron@gmail.com>
Reviewed-on: https://git.eclipse.org/r/19619
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/trace/CTFTrace.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/trace/Stream.java
This page took 0.030264 seconds and 5 git commands to generate.