summaryrefslogtreecommitdiffstats
path: root/runtime/probes/test4/build
diff options
context:
space:
mode:
authorhunt <hunt>2005-03-21 21:11:13 +0000
committerhunt <hunt>2005-03-21 21:11:13 +0000
commit854d896bebf48714b6e14b73d4eab6d9c856aa52 (patch)
tree1d524e16590c348de6f8ca27884f4f74ea34eadf /runtime/probes/test4/build
parente10ae0b0a445c70eafed2e6a7e8991191f023445 (diff)
downloadsystemtap-steved-854d896bebf48714b6e14b73d4eab6d9c856aa52.tar.gz
systemtap-steved-854d896bebf48714b6e14b73d4eab6d9c856aa52.tar.xz
systemtap-steved-854d896bebf48714b6e14b73d4eab6d9c856aa52.zip
*** empty log message ***
Diffstat (limited to 'runtime/probes/test4/build')
-rwxr-xr-xruntime/probes/test4/build16
1 files changed, 16 insertions, 0 deletions
diff --git a/runtime/probes/test4/build b/runtime/probes/test4/build
new file mode 100755
index 00000000..3713f08a
--- /dev/null
+++ b/runtime/probes/test4/build
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+KVERSION=`uname -r`
+echo $KVERSION
+KALLSYMS_LOOKUP_NAME=`grep " kallsyms_lookup_name" /boot/System.map-$KVERSION |awk '{print $1}'`
+KALLSYMS_LOOKUP=`grep " kallsyms_lookup$" /boot/System.map-$KVERSION |awk '{print $1}'`
+
+make V=1 -C /lib/modules/`uname -r`/build M=`pwd` modules \
+ KALLSYMS_LOOKUP_NAME=0x$KALLSYMS_LOOKUP_NAME \
+ KALLSYMS_LOOKUP=0x$KALLSYMS_LOOKUP \
+ STP_RUNTIME=`pwd`/../..
+
+
+
+
+