[Intel-gfx] [PATCH 1/5] quick_dump: say something when reg init fails

Ben Widawsky ben at bwidawsk.net
Fri Feb 22 07:05:32 CET 2013


Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
---
 tools/quick_dump/quick_dump.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/quick_dump/quick_dump.py b/tools/quick_dump/quick_dump.py
index c2f5cd9..dd64710 100755
--- a/tools/quick_dump/quick_dump.py
+++ b/tools/quick_dump/quick_dump.py
@@ -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
-- 
1.8.1.4




More information about the Intel-gfx mailing list