diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2007-12-28 15:27:53 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2007-12-28 15:27:53 +0000 |
commit | 0f8fcbcca397f4edcd1c7d0160e26f69b3fd79cc (patch) | |
tree | 20c2d66f5aebf5e9e6898f3ae415291fc86be250 /tools/xentrace/xentrace_format | |
parent | e6bf9545fdafebfce3559fc84aa05382eb9285b6 (diff) | |
download | xen-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_format | 2 |
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: |