diff options
author | hunt <hunt> | 2005-07-12 00:32:11 +0000 |
---|---|---|
committer | hunt <hunt> | 2005-07-12 00:32:11 +0000 |
commit | 6dab699bdea1c6a51c74a644342a720b0f4fdfb6 (patch) | |
tree | dacaeb909d102efbe08be96c9e6cc0fc46a5c6a4 /runtime/probes/where_func | |
parent | c37f6b365f83fc09aa77dfb05c4543bcf6ee7bc8 (diff) | |
download | systemtap-steved-6dab699bdea1c6a51c74a644342a720b0f4fdfb6.tar.gz systemtap-steved-6dab699bdea1c6a51c74a644342a720b0f4fdfb6.tar.xz systemtap-steved-6dab699bdea1c6a51c74a644342a720b0f4fdfb6.zip |
2005-07-11 Martin Hunt <hunt@redhat.com>
* build_probe: Set RELAYFS correctly.
* Makefile.template: Fix for RELAYFS.
* stp: Moved here. All probes now use this copy.
* ALL/stp: source the master copy of stp.
Diffstat (limited to 'runtime/probes/where_func')
-rwxr-xr-x | runtime/probes/where_func/stp | 42 |
1 files changed, 1 insertions, 41 deletions
diff --git a/runtime/probes/where_func/stp b/runtime/probes/where_func/stp index 4baf70ff..f3feee70 100755 --- a/runtime/probes/where_func/stp +++ b/runtime/probes/where_func/stp @@ -1,42 +1,2 @@ #!/bin/bash -if [ -n "$1" ] -then - modulename=$1 -else - echo "Usage: stp modulename" - exit -fi - -RELAYFS=`lsmod | grep relayfs |awk '{print $1}'` -if [ "$RELAYFS" != "relayfs" ] -then - /sbin/insmod ../../relayfs/relayfs.ko -fi - -if [ ! -d "/mnt/relay" ] -then - mkdir /mnt/relay -fi - -MOUNT=`mount | grep relayfs |awk '{print $1}'` -if [ "$MOUNT" != "relayfs" ] -then - mount -t relayfs relayfs /mnt/relay -fi - -STP_CONTROL=`lsmod | grep stp_control |awk '{print $1}'` -if [ "$STP_CONTROL" != "stp_control" ] -then - /sbin/insmod ../../transport/stp-control.ko -fi - -#/sbin/insmod $modulename - -# print to screen only -#../../stpd/stpd -p $modulename - -# print to screen and log to files (file logging only if #define STP_NETLINK_ONLY commented out in module) -../../stpd/stpd $modulename - -# no screen, log to files (file logging only if #define STP_NETLINK_ONLY commented out in module) -#../../stpd/stpd -q $modulename +source ../stp |