[kvm-unit-tests PATCH v2 4/8] pretty_print_stacks: use elf file for the kernel

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

x86 doesn't seem to care, but other architectures do.

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

diff --git a/scripts/pretty_print_stacks.py b/scripts/pretty_print_stacks.py
index 11090deb122b1..bd30a7376a6d8 100755
--- a/scripts/pretty_print_stacks.py
+++ b/scripts/pretty_print_stacks.py
@@ -58,7 +58,7 @@ def main():
sys.stderr.write('usage: %s <kernel>\n' % sys.argv[0])
sys.exit(1)

- binary = sys.argv[1]
+ binary = sys.argv[1].replace(".flat", ".elf")

try:
while True:
--
2.4.11