Reverting PR-154 Changes since VCN data not seen on Perfetto file (#191)

이 커밋은 다음에 포함됨:
anujshuk-amd 작성하고 GitHub가 2025-05-02 16:19:43 -04:00를 커밋함
1 부모 0f16d45445
커밋 ff109912c2
4 파일이 변경됨
+41 -30

검색과 일치하는 파일 없음

+5 -7
파일 보기
@@ -1301,15 +1301,13 @@ rocprofiler_configure(uint32_t version, const char* runtime_version, uint32_t pr
_first = false;
}
// If ROCPROFSYS_PRELOAD or ROCPROFSYS_INIT_TOOLING is not set,
// the tooling will not be initialized so we cannot enable
// profiling with rocprofiler
if(!tim::get_env("ROCPROFSYS_PRELOAD", true) ||
!tim::get_env("ROCPROFSYS_INIT_TOOLING", true))
return nullptr;
if(!tim::get_env("ROCPROFSYS_INIT_TOOLING", true)) return nullptr;
if(!tim::settings::enabled()) return nullptr;
if(!rocprofsys::config::settings_are_configured() &&
rocprofsys::get_state() < rocprofsys::State::Active)
rocprofsys_init_tooling_hidden();
if(!rocprofsys::config::get_use_rocm())
{
return nullptr;