ctf: Fix seek bug with multi-threaded access
authorMatthew Khouzam <matthew.khouzam@ericsson.com>
Fri, 21 Jun 2013 20:02:36 +0000 (16:02 -0400)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Wed, 26 Jun 2013 17:53:53 +0000 (13:53 -0400)
commit7ff6d3cf8c0b34a6677df8e111748135f54553dc
tree71d665eacada013f38c2056a500f19e78d61e24c
parentb6220b93a649a550ce808b03d2b5e180d3a83e57
ctf: Fix seek bug with multi-threaded access

Store the map of event definitions per stream reader, not per
trace. This allows multiple parallel stream readers to work
correctly (same with multiple CtfIterator's).

Fixes bug #405411.

Change-Id: I43e4e05b5d8313410905e90cb23badbd1d54b9f8
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/13994
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/StreamInputPacketReader.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/trace/StreamInputReader.java
This page took 0.026582 seconds and 5 git commands to generate.