summaryrefslogtreecommitdiffstats
path: root/runtime/staprun/common.c
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-05-07 13:10:32 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-05-07 13:10:32 -0400
commit9204dcfbe16061f799068eeacff5dc68ad33e523 (patch)
treed0b0d6b9a850527b6ddf756de8846023933a4f18 /runtime/staprun/common.c
parent49628242c239feb617b838bb5d90488386645bd6 (diff)
parent12603f28dc1abdfdff43c53b939ebb528382512e (diff)
downloadsystemtap-steved-9204dcfbe16061f799068eeacff5dc68ad33e523.tar.gz
systemtap-steved-9204dcfbe16061f799068eeacff5dc68ad33e523.tar.xz
systemtap-steved-9204dcfbe16061f799068eeacff5dc68ad33e523.zip
Merge branch 'master' into pr6429-comp-unwindsyms
* master: PR444886: add .../build/... to default debuginfo search path More signal cleanup. Fix problem handling SIG_CHLD Cleanup signal handling for staprun. PR6481: timer reset needs irqs reenabled Made runtime/task_finder.c improvements. PR6474: use position-independent-executable security c/ld-flags for stap* binaries 2008-05-01 William Cohen <wcohen@redhat.com> add git commit summary guidelines PR5648: Fix unaligned access warning on ia64. PR6008: Increase the limitation of the buffer size to 4095MB. PR5645: Fix sub-buffer size calculation and debug messages.
Diffstat (limited to 'runtime/staprun/common.c')
-rw-r--r--runtime/staprun/common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/staprun/common.c b/runtime/staprun/common.c
index b716d27f..93da51d8 100644
--- a/runtime/staprun/common.c
+++ b/runtime/staprun/common.c
@@ -58,8 +58,8 @@ void parse_args(int argc, char **argv)
break;
case 'b':
buffer_size = (unsigned)atoi(optarg);
- if (buffer_size < 1 || buffer_size > 64) {
- err("Invalid buffer size '%d' (should be 1-64).\n", buffer_size);
+ if (buffer_size < 1 || buffer_size > 4095) {
+ err("Invalid buffer size '%d' (should be 1-4095).\n", buffer_size);
usage(argv[0]);
}
break;
@@ -130,7 +130,7 @@ void usage(char *prog)
err("-o FILE Send output to FILE.\n");
err("-b buffer size The systemtap module specifies a buffer size.\n");
err(" Setting one here will override that value. The\n");
- err(" value should be an integer between 1 and 64\n");
+ err(" value should be an integer between 1 and 4095 \n");
err(" which be assumed to be the buffer size in MB.\n");
err(" That value will be per-cpu in bulk mode.\n");
err("-L Load module and start probes, then detach.\n");