summaryrefslogtreecommitdiffstats
path: root/stp_check.in
diff options
context:
space:
mode:
authorfche <fche>2007-02-27 23:05:53 +0000
committerfche <fche>2007-02-27 23:05:53 +0000
commitdedfb0242424555ee4309df0c0623a7f7ca84ab5 (patch)
tree60f0be6e22271f93a5333f911d3ad736f0f26c7b /stp_check.in
parentbe16810511c4eb5aecda11342126f60bcc58e219 (diff)
downloadsystemtap-steved-dedfb0242424555ee4309df0c0623a7f7ca84ab5.tar.gz
systemtap-steved-dedfb0242424555ee4309df0c0623a7f7ca84ab5.tar.xz
systemtap-steved-dedfb0242424555ee4309df0c0623a7f7ca84ab5.zip
2007-02-27 Frank Ch. Eigler <fche@elastic.org>
* systemtap.spec.in (/var/cache/systemtap): Forget it. (stp_check): Pack this in with systemtap-runtime. * stp_check.in: Add LANG=C for speed.
Diffstat (limited to 'stp_check.in')
-rwxr-xr-xstp_check.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/stp_check.in b/stp_check.in
index 66a47feb..3f7fe0a8 100755
--- a/stp_check.in
+++ b/stp_check.in
@@ -1,5 +1,9 @@
#!/bin/bash
+# speed up grep and friends
+LANG=C
+export LANG
+
RELAYFS_FS=`grep relayfs_create_dir /proc/kallsyms`
RELAY=`grep relay_open /proc/kallsyms`
if [ -n "$RELAY" -a -z "$RELAYFS_FS" ]