Propagate states and annotations from a specified baseline result when performing analysis or generating a report.
A string containing the PATH/name for the baseline result. This may be an absolute path, or a path relative to the current working directory.
When performing analysis, problem states and annotations from the most recently created result of the same type are carried forward to the new result.
Use the baseline-result action-option to specify a result other than the most recently created result of this type as the baseline for a new collection. You can also specify a baseline when finalizing a result or generating a report. Problem states and annotations from the specified baseline result are carried forward to the new result, newly finalized result, or report.
Whatever type of analysis is used to create the baseline result, the results will align most closely if the same type is used when generating a subsequent result. A similar type can also be used, though an increased or reduced level of analysis will create some mismatches.
In this example, the mi3, Locate Memory Problems, analysis type is used when analyzing MyApp and for subsequent analysis runs that use this baseline result.
To create the result that you want to use as a baseline, perform a memory analysis on MyApp.exe and save the result in the mi3_baseline result directory.
$ inspxe-cl -collect mi3 -result-dir ./mi3_baseline -- ./MyApp.exe
For a subsequent analysis run, the baseline-result option passes in the baseline result from the mi3_baseline result directory that was created in the previous step. Since the result directory for the new analysis result was not specified, it is written to a default-named result directory under the current working directory.
$ inspxe-cl -collect mi3 -baseline-result ./mi3_baseline -- ./MyApp.exe