From 43241c442263dd52e34f86e2d0a64c20cd7235c3 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Wed, 12 Aug 2009 16:07:08 -0400 Subject: PR10507: tweak heuristics for stap_uprobes[] allocation * tapsets.cxx (uprobes::emit_module_decls): Compute MAXUPROBES with x-treme kl3v3rn3ss. * stap.1.in: Clarify MAXUPROBES. --- stap.1.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'stap.1.in') 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 -- cgit