user-data-dir
Specify the base directory for result paths.
Syntax
-user-data-dir
<PATH>
Arguments
A string containing the PATH/name for the
base directory. This may be an absolute path, or a path relative to the current working directory.
Default
The current working directory unless the
INSP_USER_DATA_DIR
environment variable is defined.Actions Modified
Description
Use the
user-data-dir
action-option when you want to specify the base directory of result directories, but still use the default names for result directories and files. - If used with thecollectorcollect-withactions, a default-named result directory is added below the specified base directory.
- To generate a report or perform another action on results under this base directory, use theresult-diroption to specify the path to the result directory.
- If theINSP_USER_DATA_DIRenvironment variable is defined, this option overrides it.
Alternate Options
The
result-dir
action-option specifies the PATH/name of the directory in which the result is stored. If you want to use the default result directory name, but set a different path, use the
user-data-dir
option.
Example
This command:
- Runs aDetect Deadlocks and Data Races (ti2)analysis on the applicationmyApp.
- Creates the default-namedr@@@ti2result directory in the location specified by theuser-data-diraction-option:G:\inspResults.
- Generates a summary report of detected problems, and writes it to theinspxe-cl.txtfile in the result directory.
$ inspxe-cl -collect ti2 -user-data-dir G:\inspResults -- myApp