Intel® Inspector User Guide for Windows* OS

ID 767798
Date 3/22/2024
Public

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

Document Table of Contents

create-suppression-file

Generate a suppression file for all detected problems in the specified result.

GUI Equivalent

None

Syntax

-create-suppression-file <PATH>

Arguments

A string containing the PATH/name for the suppression file. This may be an absolute path, or a path relative to the current working directory. If no file extension is specified, .sup is used.

Description

Use the create-suppression-file action to generate a suppress-all file for every problem detected in the specified result, regardless of problem state settings. The most recent result in the current working directory is used by default, or you can use the result-dir action-option to specify the result.

Once you have generated this suppression file, it can be applied when running analysis from the command line or GUI, and when generating a report from a result in which these problems were not suppressed.

Example

Generate a mySup.sup suppression file for all detected problems in the specified r002ti2 result, and saves it to the standard Microsoft Visual Studio* IDE location for suppressions. This suppressions file can be applied to subsequent threading analysis, or when generating a report from an

 $ inspxe-cl -create-suppression-file "C:\myAppProj\My Inspector Results-[project name]\suppressions\mySup" -result-dir r002ti2