aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xentrace/xentrace_format
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2007-12-28 15:27:53 +0000
committerKeir Fraser <keir.fraser@citrix.com>2007-12-28 15:27:53 +0000
commit0f8fcbcca397f4edcd1c7d0160e26f69b3fd79cc (patch)
tree20c2d66f5aebf5e9e6898f3ae415291fc86be250 /tools/xentrace/xentrace_format
parente6bf9545fdafebfce3559fc84aa05382eb9285b6 (diff)
downloadxen-0f8fcbcca397f4edcd1c7d0160e26f69b3fd79cc.tar.gz
xen-0f8fcbcca397f4edcd1c7d0160e26f69b3fd79cc.tar.bz2
xen-0f8fcbcca397f4edcd1c7d0160e26f69b3fd79cc.zip
xentrace bug fix: data format of hvmtrace is changed.
Signed-off-by: Disheng Su <disheng.su@intel.com>
Diffstat (limited to 'tools/xentrace/xentrace_format')
-rw-r--r--tools/xentrace/xentrace_format2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xentrace/xentrace_format b/tools/xentrace/xentrace_format
index 20fa7718ce..6399217bb6 100644
--- a/tools/xentrace/xentrace_format
+++ b/tools/xentrace/xentrace_format
@@ -134,7 +134,7 @@ while not interrupted:
line = sys.stdin.read(struct.calcsize(D1REC))
if not line:
break
- (d1) = struct.unpack(D1REC, line)
+ d1 = struct.unpack(D1REC, line)[0]
if n_data == 2:
line = sys.stdin.read(struct.calcsize(D2REC))
if not line: