Skip to content

Commit

Permalink
Format source
Browse files Browse the repository at this point in the history
Signed-off-by: David Galiffi <[email protected]>
  • Loading branch information
dgaliffiAMD committed Sep 13, 2024
1 parent 9526226 commit 088df98
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
5 changes: 3 additions & 2 deletions source/lib/core/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ using utility::parse_numeric_range;
[&]() { \
auto _ret = _config->insert<TYPE, TYPE>( \
ENV_NAME, get_setting_name(ENV_NAME), DESCRIPTION, TYPE{ INITIAL_VALUE }, \
std::set<std::string>{ "custom", "omnitrace", "librocprof-sys", \
std::set<std::string>{ "custom", "omnitrace", "librocprof-sys", \
__VA_ARGS__ }); \
if(!_ret.second) \
{ \
Expand Down Expand Up @@ -151,7 +151,8 @@ using utility::parse_numeric_range;
[&]() { \
auto _ret = _config->insert<TYPE, TYPE>( \
ENV_NAME, get_setting_name(ENV_NAME), DESCRIPTION, TYPE{ INITIAL_VALUE }, \
std::set<std::string>{ "custom", "omnitrace", "librocprof-sys", __VA_ARGS__ }, \
std::set<std::string>{ "custom", "omnitrace", "librocprof-sys", \
__VA_ARGS__ }, \
std::vector<std::string>{ CMD_LINE }); \
if(!_ret.second) \
{ \
Expand Down
11 changes: 6 additions & 5 deletions source/lib/omnitrace-dl/dl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1086,11 +1086,12 @@ extern "C"
#if OMNITRACE_USE_ROCPROFILER > 0
void OnLoadToolProp(void* settings)
{
OMNITRACE_DL_LOG(-16,
"invoking %s(rocprofiler_settings_t*) within librocprof-sys-dl.so "
"will cause a silent failure for rocprofiler. ROCP_TOOL_LIB "
"should be set to librocprof-sys.so\n",
__FUNCTION__);
OMNITRACE_DL_LOG(
-16,
"invoking %s(rocprofiler_settings_t*) within librocprof-sys-dl.so "
"will cause a silent failure for rocprofiler. ROCP_TOOL_LIB "
"should be set to librocprof-sys.so\n",
__FUNCTION__);
abort();
return OMNITRACE_DL_INVOKE(get_indirect().rocp_on_load_tool_prop_f, settings);
}
Expand Down

0 comments on commit 088df98

Please sign in to comment.