From: Ben Widawsky Subject: [PATCH 1/5] quick_dump: say something when reg init fails Date: Thu, 21 Feb 2013 22:05:32 -0800 Message-ID: <1361513136-1706-1-git-send-email-ben@bwidawsk.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from shiva.chad-versace.us (209-20-75-48.static.cloud-ips.com [209.20.75.48]) by gabe.freedesktop.org (Postfix) with ESMTP id 80225E5C4D for ; Thu, 21 Feb 2013 22:03:54 -0800 (PST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org Cc: Ben Widawsky List-Id: intel-gfx@lists.freedesktop.org Signed-off-by: Ben Widawsky --- 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