Fixing metadata path for CTF plugin
Change-Id: I04f81c38e2f9f2da9f4ac771ae9dff04cd6a76c6
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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); }
|
||||
|
||||
/*
|
||||
* ###################################################
|
||||
|
||||
Reference in New Issue
Block a user