Intel® Inspector User Guide for Linux* OS

ID 767796
Date 7/13/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

merge-states

Merge problem states from a result into problem states in another copy of the same result.

GUI Equivalent

Dialog Box Merge States

Syntax

-merge-states <PATH>

Arguments

The path for the merge-from result directory.

Default

Problem state values from the specified result directory are merged into state values in the most recently created result directory of the same type.

Description

When an analysis returns a large number of problems, you can create multiple copies of the same result to divide up the work of investigating and resolving problems. Then you can use the merge-states action to merge problem states from one copy of the result to another. When merging problem states on your system, state data from the specified result is merged into the most recent result of the same type in your current working directory, unless the merge-to result directory is specified by the result-dir option.

Problem states are merged according to these rules:

  • New in the merge-from result is ignored; state value in the merge-to result is retained.

  • Not Fixed in the merge-from result is ignored; state value in the merge-to result is retained.

  • Regression in the merge-from result is propagated unless the state value in the merge-to result is Not a Problem, Deferred, Confirmed or Fixed.

  • Not a Problem in the merge-from result is propagated unless the state value in the merge-to result is Deferred, Confirmed or Fixed.

  • Deferred in the merge-from result is propagated unless the state value in the merge-to result is Confirmed or Fixed.

  • Confirmed in the merge-from result is propagated unless the state value in the merge-to result is Fixed.

Example

Merge problem state values from the merge-from-result result directory into state values in the most recent result of the same type.

$ inspxe-cl -merge-states myDirectory/merge-from-result

In this example, problem state data from the merge-from-result result directory is merged into state data in the result in the merge-to-result directory, as specified by the result-dir option.

$ inspxe-cl -merge-states myDirectory/merge-from-result -result-dir ./merge-to-result