Skip to content

Commit

Permalink
Rename the omnitrace-rt library
Browse files Browse the repository at this point in the history
Signed-off-by: David Galiffi <[email protected]>
  • Loading branch information
dgaliffiAMD committed Sep 12, 2024
1 parent 04389e9 commit 713ee86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions source/lib/omnitrace-dl/dl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1175,7 +1175,7 @@ get_default_mode()
auto _link_map = get_link_map(nullptr);
for(const auto& itr : _link_map)
{
if(itr.find("librocsys-rt.so") != std::string::npos ||
if(itr.find("librocprof-sys-rt.so") != std::string::npos ||
itr.find("libdyninstAPI_RT.so") != std::string::npos)
return "trace";
}
Expand Down Expand Up @@ -1256,7 +1256,7 @@ omnitrace_preload()
get_env("OMNITRACE_INSTRUMENT_MODE", dl::InstrumentMode::BinaryRewrite);
for(const auto& itr : _link_map)
{
if(itr.find("librocsys-rt.so") != std::string::npos ||
if(itr.find("librocprof-sys-rt.so") != std::string::npos ||
itr.find("libdyninstAPI_RT.so") != std::string::npos)
{
omnitrace_set_instrumented(static_cast<int>(_instr_mode));
Expand Down
2 changes: 1 addition & 1 deletion source/lib/omnitrace-rt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ add_target_cxx_flag_if_avail(omnitrace-rt-library "-g3")

set_target_properties(
omnitrace-rt-library
PROPERTIES OUTPUT_NAME rocsys-rt
PROPERTIES OUTPUT_NAME rocprof-sys-rt
VERSION ${PROJECT_VERSION}
SOVERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}
BUILD_RPATH "\$ORIGIN"
Expand Down

0 comments on commit 713ee86

Please sign in to comment.