summaryrefslogtreecommitdiffstats
path: root/stap.1.in
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2009-08-12 16:07:08 -0400
committerFrank Ch. Eigler <fche@elastic.org>2009-08-12 16:07:08 -0400
commit43241c442263dd52e34f86e2d0a64c20cd7235c3 (patch)
tree39711f175ec2dc1d712880bc5cdbf1ae22ae3f68 /stap.1.in
parent857bdfd1bec07003d3d92aaacf6ba578057324ef (diff)
downloadsystemtap-steved-43241c442263dd52e34f86e2d0a64c20cd7235c3.tar.gz
systemtap-steved-43241c442263dd52e34f86e2d0a64c20cd7235c3.tar.xz
systemtap-steved-43241c442263dd52e34f86e2d0a64c20cd7235c3.zip
PR10507: tweak heuristics for stap_uprobes[] allocation
* tapsets.cxx (uprobes::emit_module_decls): Compute MAXUPROBES with x-treme kl3v3rn3ss. * stap.1.in: Clarify MAXUPROBES.
Diffstat (limited to 'stap.1.in')
-rw-r--r--stap.1.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/stap.1.in b/stap.1.in
index 0e7a51f4..a9af3a13 100644
--- a/stap.1.in
+++ b/stap.1.in
@@ -1081,9 +1081,9 @@ for the probe handler's own needs, plus a safety margin.
.TP
MAXUPROBES
Maximum number of concurrently armed user-space probes (uprobes), default
-100 times the number of user-space probe points named in the script. This
-pool is large because individual uprobe objects are allocated for each
-process for each script-level probe.
+somewhat larger than the number of user-space probe points named in the script.
+This pool needs to be potentialy large because individual uprobe objects (about
+64 bytes each) are allocated for each process for each matching script-level probe.
.PP
With scripts that contain probes on any interrupt path, it is possible that