summaryrefslogtreecommitdiffstats
path: root/testsuite/parseko/cmdline12.stp
diff options
context:
space:
mode:
authordsmith <dsmith>2007-08-14 15:28:47 +0000
committerdsmith <dsmith>2007-08-14 15:28:47 +0000
commit69bf08b5a00d5095ca50b7400221b2cbedeae904 (patch)
treef991152abfcac09aa95602ec239f9047e79d799b /testsuite/parseko/cmdline12.stp
parentb79aff3684e02d6f83a2fa2a2fcfe53d5c9d6d14 (diff)
downloadsystemtap-steved-69bf08b5a00d5095ca50b7400221b2cbedeae904.tar.gz
systemtap-steved-69bf08b5a00d5095ca50b7400221b2cbedeae904.tar.xz
systemtap-steved-69bf08b5a00d5095ca50b7400221b2cbedeae904.zip
2007-08-14 David Smith <dsmith@redhat.com>
Merge from setuid-branch. * configure.ac: Version increase to 0.6. * configure: Regenerated. * parseko/cmdline09.stp: Added new test for staprun command line options. * parseko/cmdline10.stp: Ditto. * parseko/cmdline11.stp: Ditto. * parseko/cmdline12.stp: Ditto. * parseko/cmdline13.stp: Ditto. * parseko/cmdline14.stp: Ditto. * systemtap.samples/args.exp: No longer necessary to use "sudo" to run staprun.
Diffstat (limited to 'testsuite/parseko/cmdline12.stp')
-rwxr-xr-xtestsuite/parseko/cmdline12.stp12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/parseko/cmdline12.stp b/testsuite/parseko/cmdline12.stp
new file mode 100755
index 00000000..1797fe54
--- /dev/null
+++ b/testsuite/parseko/cmdline12.stp
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+# options '-A' and '-b size' are mutually exclusive (since the buffer
+# size option only has an effect when the module is inserted)
+#
+# -A Attach to loaded systemtap module.
+# -b buffer size The systemtap module specifies a buffer size.
+# Setting one here will override that value. The
+# value should be an integer between 1 and 64
+# which be assumed to be the buffer size in MB.
+# That value will be per-cpu in bulk mode.
+staprun -A -b 2 fake_module