diff --git a/plugin/ctf/ctf.cpp b/plugin/ctf/ctf.cpp index 69598cbe68..648242be06 100644 --- a/plugin/ctf/ctf.cpp +++ b/plugin/ctf/ctf.cpp @@ -95,7 +95,7 @@ ROCPROFILER_EXPORT int rocprofiler_plugin_initialize(const uint32_t rocprofiler_ // Get ROCM install path retVal = getROCmInstallPath( &installPath, &installPathLen ); if(PathSuccess == retVal){ - metadata_path = fs::path(installPath); + metadata_path = fs::path(installPath) / fs::path{CTF_PLUGIN_METADATA_FILE_PATH}; }else { std::cout << "Failed to get ROCm Install Path: " << retVal << std::endl; } diff --git a/tests-v2/featuretests/profiler/profiler_gtest.cpp b/tests-v2/featuretests/profiler/profiler_gtest.cpp index c8ff773a1b..9808b3875f 100644 --- a/tests-v2/featuretests/profiler/profiler_gtest.cpp +++ b/tests-v2/featuretests/profiler/profiler_gtest.cpp @@ -1347,7 +1347,7 @@ class VectorAddCTFTest : public CTFPluginTest { bool hasFile() { return hasMetadataInDir("/tmp/tests-v2/ctf/"); } }; -TEST_F(VectorAddCTFTest, DISABLED_WhenRunningProfilerWithCTFTest) { EXPECT_EQ(hasFile(), true); } +TEST_F(VectorAddCTFTest, WhenRunningProfilerWithCTFTest) { EXPECT_EQ(hasFile(), true); } class VectorAddCTFMPITest : public CTFPluginTest { protected: @@ -1362,7 +1362,7 @@ class VectorAddCTFMPITest : public CTFPluginTest { bool hasFile() { return hasMetadataInDir("/tmp/tests-v2/ctf_7/"); } }; -TEST_F(VectorAddCTFMPITest, DISABLED_WhenRunningProfilerWithCTFTest) { EXPECT_EQ(hasFile(), true); } +TEST_F(VectorAddCTFMPITest, WhenRunningProfilerWithCTFTest) { EXPECT_EQ(hasFile(), true); } /* * ###################################################