All logging should use call new functions

Signed-off-by: colramos-amd <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 5bf38a4fed]
This commit is contained in:
colramos-amd
2024-01-30 17:25:16 -06:00
committed by Karl W. Schulz
parent cfdf288cba
commit a1371462ba
26 changed files with 474 additions and 337 deletions
+2 -1
View File
@@ -29,6 +29,7 @@ import locale
import logging
from utils.utils import error
from omniperf_base import Omniperf
from utils.utils import console_error
def main():
try:
@@ -48,7 +49,7 @@ def main():
elif mode == "analyze":
omniperf.run_analysis()
else:
omniperf.error("Unsupported execution mode")
console_error("Unsupported execution mode")
sys.exit(0)