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:
committed by
Karl W. Schulz
parent
cfdf288cba
commit
a1371462ba
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user