Update illegal character check for profile name (#703)

[ROCm/rocprofiler-compute commit: 41dd4aab90]
This commit is contained in:
Ben Richard
2025-05-16 15:45:16 -04:00
committed by GitHub
parent 72af81c528
commit 4899cfa160
2 changed files with 3 additions and 6 deletions
@@ -252,6 +252,9 @@ class RocProfCompute:
elif self.__args.name is None:
sys.exit("Either --list-name or --name is required")
if self.__args.name.find("/") != -1:
console_error("'/' not permitted in profile name")
# Deprecation warning for hardware blocks
if [
name