Remove rocscope related code and add deprecation warning for mongo db usecase (#744)

* Remove rocscope related code

* Add deprecation warning for database update mode which is used for grafana and mongodb functionality

[ROCm/rocprofiler-compute commit: cdd41dee40]
This commit is contained in:
vedithal-amd
2025-06-12 14:21:24 -04:00
committato da GitHub
parent a153c96c7b
commit 9e743cdff2
14 ha cambiato i file con 35 aggiunte e 598 eliminazioni
@@ -689,9 +689,8 @@ def eval_metric(dfs, dfs_type, sys_info, raw_pmc_df, debug):
# confirm no illogical counter values (only consider non-roofline runs)
roof_only_run = sys_info.ip_blocks == "roofline"
rocscope_run = sys_info.ip_blocks == "rocscope"
if (
(not rocscope_run and not roof_only_run)
(not roof_only_run)
and hasattr(raw_pmc_df["pmc_perf"], "GRBM_GUI_ACTIVE")
and (raw_pmc_df["pmc_perf"]["GRBM_GUI_ACTIVE"] == 0).any()
):