User Guide

  • 2020
  • 10/21/2020
  • Public Content
Contents

Workaround for Disabled Suppressions from the Command Line

Rules for Enabling Suppressions

The rules for enabling suppressions vary depending on whether the analysis is performed in the
Intel Inspector
GUI or on the command line.
When analysis is performed in the GUI
The ability to apply suppressions to the result is determined by whether the
Allow Suppressions
setting was enabled in the
Project Properties
at the time that the result was created. Once the result is created, this setting is cannot be changed. Likewise, imported results retain their original settings.
When analysis is performed on the command line
The ability to apply suppressions is automatically enabled regardless of result or project settings. You can also use suppression files when generating a report.

What to Do When Suppressions Are Disabled in a Result

If you want to apply suppressions but they are disabled in your result, you have two main options: enable suppressions in the current project and perform the next analysis on the command line, or create a new project in which suppressions are allowed and run a new analysis.
Example: Workaround for Disabled Suppressions
By performing analysis on the command line, you can create a new result that has enabled suppressions, with all the problem state assignments and annotations as the old result. You can use the Copy Command tool to capture the basic analysis settings, but should also specify the old result as the baseline and apply suppressions to the new analysis.
Before running this command, you should enable suppressions in this project so that you will have the option of applying suppressions when initiating analysis in the GUI.
In this example, the
baseline-result
option provides the path to the baseline result directory. If this is not specified, the analysis uses the most recent result of the same analysis type in the current working directory by default.
The
suppression-file
option can pass in either the parent directory where suppression files are stored, or the PATHname of a specific suppression file. In this example, the suppressions parent directory is specified, so
inspxe-cl
applies whatever suppression files are in this directory during analysis.
To make it easy to switch between the GUI and the command line, store suppression files in the standard suppressions directory:
./My Inspector Results-[project name]/suppressions
.
$ inspxe-cl -collect ti2 -baseline-result ./old_result_dir -suppression-file ./suppressions/ -- myApp
The result of this analysis has suppressions enabled, contains all the problem settings and annotations as the previous result, and shows which problems are suppressed.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserverd for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804