Fixes OMNITRACE_SUPPRESS_CONFIG handling (#53)
Fixes OMNITRACE_SUPPRESS_CONFIG
- now, if set to ON, the config file will not be read
[ROCm/rocprofiler-systems commit: f27f062e88]
This commit is contained in:
committed by
GitHub
parent
41ab1b61e3
commit
c060cfe2d9
@@ -427,6 +427,7 @@ configure_settings(bool _init)
|
||||
for(auto&& itr :
|
||||
tim::delimit(_config->get<std::string>("OMNITRACE_CONFIG_FILE"), ";:"))
|
||||
{
|
||||
if(_config->get_suppress_config()) continue;
|
||||
OMNITRACE_CONDITIONAL_BASIC_PRINT(get_verbose_env() > 0,
|
||||
"Reading config file %s\n", itr.c_str());
|
||||
_config->read(itr);
|
||||
|
||||
Reference in New Issue
Block a user