[kvm-unit-tests PATCH v2 3/8] pretty_print_stacks: keep the 'STACK:' line

Andrew Jones
2016-04-19T16:19:42Z

It's sometimes useful to have the addresses for searching in a
disassembly. Anyway, there's no reason to drop it.

Signed-off-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: Peter Feiner <pfeiner@google.com>
---
scripts/pretty_print_stacks.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/pretty_print_stacks.py b/scripts/pretty_print_stacks.py
index ee5a52edf07cd..11090deb122b1 100755
--- a/scripts/pretty_print_stacks.py
+++ b/scripts/pretty_print_stacks.py
@@ -67,8 +67,9 @@ def main():
if line == '':
break

+ puts(line)
+
if not line.strip().startswith('STACK:'):
- puts(line)
continue

try:
--
2.4.11