DCGPUBU-44: Fixed pmc use of CLI plugin

Change-Id: I751f15bddef0b431b2b5e2cb97d593eef64e94a0


[ROCm/rocprofiler commit: f715f4318a]
Bu işleme şunda yer alıyor:
Giovanni LB
2023-08-17 15:49:32 -03:00
işlemeyi yapan: Giovanni Baraldi
ebeveyn f56282474c
işleme 9ef1b65d61
2 değiştirilmiş dosya ile 7 ekleme ve 4 silme
+1 -1
Dosyayı Görüntüle
@@ -452,7 +452,7 @@ void plugins_load() {
} catch (...) {}
out_path = out_path + '/';
}
if (getenv("ROCPROFILER_COUNTERS")) {
if (out_path.size() && getenv("ROCPROFILER_COUNTERS")) {
std::ofstream(out_path+"pmc.txt", std::ios::app)
<< std::string(getenv("ROCPROFILER_COUNTERS")) << '\n';
}