summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tapsets.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/tapsets.cxx b/tapsets.cxx
index d6be0c2d..4e4d471d 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -7038,7 +7038,8 @@ uprobe_derived_probe_group::emit_module_decls (systemtap_session& s)
s.op->newline() << "#include \"task_finder.c\"";
s.op->newline() << "#ifndef MULTIPLE_UPROBES";
- s.op->newline() << "#define MULTIPLE_UPROBES 100"; // maximum possible armed uprobes per process() probe point
+ s.op->newline() << "#define MULTIPLE_UPROBES 256"; // maximum possible armed uprobes per process() probe point
+ // or apprx. max number of processes mapping a shared library
s.op->newline() << "#endif";
s.op->newline() << "#ifndef MAXUPROBES";
s.op->newline() << "#define MAXUPROBES (MULTIPLE_UPROBES * " << probes.size() << ")";