doc: Add user doc for the time selection export
authorAlexandre Montplaisir <alexmonthy@efficios.com>
Fri, 7 Jul 2017 20:59:13 +0000 (16:59 -0400)
committerAlexandre Montplaisir <alexmonthy@efficios.com>
Fri, 7 Jul 2017 20:59:13 +0000 (16:59 -0400)
Only the "Export Time Selection as New Trace" option exists for now,
but the doc can be organized so that eventually a sub-menu with
different options can be made available.

Change-Id: Ia1edcbbb8a0aa815a9dbf3b51134268f7c1f8f46
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
doc/org.eclipse.tracecompass.doc.user/doc/User-Guide.mediawiki

index f8b1de97894b8e62b766d07bdb47e296725d2af5..38dc97260fd217e872e1f1ce4704f2e7972c7ff7 100644 (file)
@@ -340,6 +340,21 @@ If the wizard was opened using the File menu, the destination project has to be
 
 When Finish is clicked, the trace is imported in the target folder. The folder structure from the trace package is restored in the target folder.
 
+
+=== Exporting Time Selection... ===
+
+If a time range (not a single timestamp) is selected in any of the time-based views, the '''Export Time Selection As...''' options become available. These options allow ''trimming'' the current trace to a subset of its events, while preserving all the states that may have been computed by various analyses using events present before the exported time range.
+
+Since trace writing works differently for every trace type, the trimming feature has to be implemented for the target trace's type. If the option remains grayed out even if a time range is selected, it is because the given trace type does not implement the trim feature.
+
+This feature currently works on individual traces only, not on experiments.
+
+==== ...as New Trace ====
+
+The '''Exporting Time Selection as New Trace''' option will create a new trace and import it into the current tracing project. A directory-selection dialog will be presented to the user to define where the new trace should be written. ''Make sure you have write permissions to the selected directory!'' This directory is where the new trace files will be written, as well as any appropriate ''statedump'' files.
+
+The new trace will be initially named the same as the originating one, with ''-trimmed'' appended at the end (and ''-2'', ''-3'', etc. indexes if needed to avoid name clashes). The user is then free to rename the new trace. The trace can also be removed from the project and reimported later with no loss of information.
+
 === Refreshing of Trace and Trace Folder ===
 Traces and trace folders in the workspace might be updated on the media. To refresh the content, right-click the trace or trace folder and select menu item '''Refresh'''. Alternatively, select the trace or trace folder and press key '''F5'''.
 
This page took 0.029579 seconds and 5 git commands to generate.