Specify an alternative location(s) for finding application support files.
Arguments
The pathname of a search directory, the type of file and search instructions.
Example:-search-dir all:r=C:\myProject
For multiple arguments: You may specify this option multiple times in a single command, or specify multiple arguments in a comma-separated list (no spaces). For example, the following are equivalent:
-search-dir all:p=dir1 -search-dir sym=dir2 -search-dir bin:r=dir3
-search-dir all:p=dir1,sym=dir2,bin:r=dir3
Caution
Make sure there are no spaces after commas.
Default
For binary and symbol information files: System environment PATH settings and directory in which target resides.
For source files: Directories specified in debug information files.
Description
Use search-dir when you want to search non-standard directories during target execution, analysis, and finalization. This can be useful when:
Example
Runs a Detect Deadlocks and Data Races (ti2) analysis on the application myApp.
Searches the nonstandard subdirectory within the current working directory for support files needed to execute the myApp target during the
collect
action.Stores the result in the default r@@@ti2 result directory in the current working directory, where @@@ represents the next available number.
Generates a summary report of detected problems, and writes it to the inspxe-cl.txt file in the result directory.
$ inspxe-cl -collect ti2 -search-dir all=nonstandard -- myApp