diff -r a55a98b36a2a tools/xentrace/xentrace_format --- a/tools/xentrace/xentrace_format Thu Mar 12 11:33:35 2009 +0000 +++ b/tools/xentrace/xentrace_format Mon Mar 12 14:15:28 2009 +0100 @@ -81,7 +81,11 @@ signal.signal(signal.SIGINT, sighand) interrupted = 0 -defs = read_defs(arg[0]) +try: + defs = read_defs(arg[0]) +except IOError, exn: + print exn + sys.exit(1) # structure of trace record (as output by xentrace): # HDR(I) {TSC(Q)} D1(I) D2(I) D3(I) D4(I) D5(I) D6(I) D7(I)