Add shell functions to get vmlinux and System.map
git-svn-id: http://test.kernel.org/svn/autotest/trunk@75 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/bin/autotest_utils.py b/bin/autotest_utils.py
index 4b05c49..9e32d20 100755
--- a/bin/autotest_utils.py
+++ b/bin/autotest_utils.py
@@ -109,6 +109,16 @@
return 0
+def get_vmlinux():
+ # Ahem. This is crap. Pray harder. Bad Martin.
+ return '/boot/vmlinux'
+
+
+def get_systemmap():
+ # Ahem. This is crap. Pray harder. Bad Martin.
+ return '/boot/System.map'
+
+
def get_arch():
# Work out which CPU architecture we're running on
f = open('/proc/cpuinfo', 'r')