summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-11-29 09:28:39 -0500
committerFrank Ch. Eigler <fche@elastic.org>2008-11-29 09:28:39 -0500
commit478c850f8fd74af2ecadbb68bab95f0949e21ade (patch)
treecb6d94bbf86664ed61190d79c38629909fdbd16f /tapsets.cxx
parent7d091090a01e61e1fd94d65c56e9df11e9ba2f6e (diff)
downloadsystemtap-steved-478c850f8fd74af2ecadbb68bab95f0949e21ade.tar.gz
systemtap-steved-478c850f8fd74af2ecadbb68bab95f0949e21ade.tar.xz
systemtap-steved-478c850f8fd74af2ecadbb68bab95f0949e21ade.zip
shared library probing: bump up MULTIPLE_UPROBES to 256
Diffstat (limited to 'tapsets.cxx')
-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() << ")";