CTF: Enhance CTF validation for invalid CTF traces (Bug 464329)
authorBernd Hufmann <Bernd.Hufmann@ericsson.com>
Tue, 21 Apr 2015 19:59:56 +0000 (15:59 -0400)
committerBernd Hufmann <bernd.hufmann@ericsson.com>
Thu, 23 Apr 2015 15:04:01 +0000 (11:04 -0400)
commitd16bb0dd90347e334be40bc96361b82541feca8a
treecad50a8d242228adbbd310804fae1dfc7906cf05
parent680f917395f3c89db33e24d907f4d2c69e0f74ff
CTF: Enhance CTF validation for invalid CTF traces (Bug 464329)

The CTF validation has been updated to do first a weak validation
to determine if the directory is actually a CTF trace. After that
a full validation is done. If the full validation fails and the
weak validation was successful a TraceValidationStatus with
severity warning and confidence of 1 is returned.

The automatic trace type detection has been updated so that the
special case above is acounted for.

With these updates the trace is imported as CTF trace however, the
use is notified that with a proper error message in case the full
validation failed.

Change-Id: Ia9b798b34c7af122d3b7684e91b114b38b656cef
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/46202
Reviewed-by: Hudson CI
org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/ctf/core/trace/Metadata.java
org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/project/model/TmfTraceType.java
org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/project/model/TraceTypeHelper.java
org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/trace/TraceValidationStatus.java
org.eclipse.tracecompass.tmf.ctf.core/src/org/eclipse/tracecompass/tmf/ctf/core/trace/CtfTmfTrace.java
This page took 0.026054 seconds and 5 git commands to generate.