diff options
author | hunt <hunt> | 2005-05-17 06:18:44 +0000 |
---|---|---|
committer | hunt <hunt> | 2005-05-17 06:18:44 +0000 |
commit | 01850eb90df234d6eeeb6ddbb511e9051dbb0c13 (patch) | |
tree | e0adf20b1551fb7b2118d0189bcb1be232836fc0 /runtime/probes/shellsnoop/stp | |
parent | e69dc3362c3aff4f08efbab69c6d99d1c05052d8 (diff) | |
download | systemtap-steved-01850eb90df234d6eeeb6ddbb511e9051dbb0c13.tar.gz systemtap-steved-01850eb90df234d6eeeb6ddbb511e9051dbb0c13.tar.xz systemtap-steved-01850eb90df234d6eeeb6ddbb511e9051dbb0c13.zip |
Renamed dtr.c as shellprobe.c. Now build shellprobe.ko.
Diffstat (limited to 'runtime/probes/shellsnoop/stp')
-rwxr-xr-x | runtime/probes/shellsnoop/stp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/runtime/probes/shellsnoop/stp b/runtime/probes/shellsnoop/stp index 14e8f47a..4a278ac2 100755 --- a/runtime/probes/shellsnoop/stp +++ b/runtime/probes/shellsnoop/stp @@ -7,8 +7,8 @@ else exit fi -RELAYFS=`lsmod | grep relayfs |awk '{print $1}'` -if [ "$RELAYFS" != "relayfs" ] +RELAYFS=`grep " relayfs_mmap" /proc/kallsyms` +if [ "$RELAYFS" == "" ] then /sbin/insmod ../../relayfs/relayfs.ko fi @@ -47,5 +47,3 @@ fi # no screen or log #../../stpd/stpd -q -b 8192 -n 4 -# stpd will remove module when it exits -#/sbin/rmmod $modulename |