mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-24 16:26:13 +00:00
quick_dump: say something when reg init fails
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
This commit is contained in:
parent
0b7da0afb1
commit
ec107b0194
@ -26,6 +26,7 @@ parser.add_argument('profile', nargs='?', type=argparse.FileType('r'), default=N
|
||||
args = parser.parse_args()
|
||||
|
||||
if reg.init() == False:
|
||||
print("Register initialization failed")
|
||||
sys.exit()
|
||||
|
||||
# Put us where the script is
|
||||
|
Loading…
x
Reference in New Issue
Block a user