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
This commit is contained in:
vedithal-amd
2025-06-12 14:21:24 -04:00
committed by GitHub
parent 1cd989a110
commit cdd41dee40
14 changed files with 35 additions and 598 deletions
-43
View File
@@ -239,49 +239,6 @@ Examples:
help="\t\t\tSpecify the directory of customized report section configs.",
default=rocprof_compute_home.joinpath("rocprof_compute_soc/analysis_configs/"),
)
result = shutil.which("rocscope")
if result:
profile_group.add_argument(
"-l",
"--i-feel-lucky",
required=False,
default=False,
action="store_true",
dest="lucky",
help="\t\t\tProfile only the most time consuming kernels.",
)
profile_group.add_argument(
"-r",
"--use-rocscope",
required=False,
default=False,
action="store_true",
dest="use_rocscope",
help="\t\t\tUse rocscope for profiling",
)
profile_group.add_argument(
"-s",
"--kernel-summaries",
required=False,
default=False,
action="store_true",
dest="summaries",
help="\t\t\tCreate kernel summaries.",
)
else:
profile_group.add_argument(
"--i-feel-lucky", default=False, dest="lucky", help=argparse.SUPPRESS
)
profile_group.add_argument(
"--use-rocscope", default=False, dest="use_rocscope", help=argparse.SUPPRESS
)
profile_group.add_argument(
"--kernel-summaries",
default=False,
dest="summaries",
help=argparse.SUPPRESS,
)
profile_group.add_argument(
"--join-type",
metavar="",