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:
@@ -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="",
|
||||
|
||||
Reference in New Issue
Block a user