summaryrefslogtreecommitdiffstats
path: root/translate.cxx
diff options
context:
space:
mode:
authorfche <fche>2006-11-26 23:28:15 +0000
committerfche <fche>2006-11-26 23:28:15 +0000
commitc931ec8ab64f5b6667e28b0f64338643d4b9ed03 (patch)
tree80b739d8a696c6acc3ce26853ebc9c8de603c52f /translate.cxx
parentcc7d24cd109128d558445507e508f5b43906ef16 (diff)
downloadsystemtap-steved-c931ec8ab64f5b6667e28b0f64338643d4b9ed03.tar.gz
systemtap-steved-c931ec8ab64f5b6667e28b0f64338643d4b9ed03.tar.xz
systemtap-steved-c931ec8ab64f5b6667e28b0f64338643d4b9ed03.zip
2006-11-26 Frank Ch. Eigler <fche@redhat.com>
PRs 2685, 3596, toward 2725. * tapsets.cxx (common_probe_entryfn_prologue): Skip probe on insufficient stack. (build_blacklist): Add a slew of lock-related calls. (query_module): Check for debuginfo architecture match. * translate.cxx (translate_pass): Add default MINSTACKSPACE. * configure.ac: Link stap with -lebl too. * configure: Regenerated. * stap.1.in: Document MINSTACKSPACE parameter.
Diffstat (limited to 'translate.cxx')
-rw-r--r--translate.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/translate.cxx b/translate.cxx
index 09c51a6e..f36280da 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -3984,6 +3984,9 @@ translate_pass (systemtap_session& s)
s.op->newline() << "#ifndef MAXSKIPPED";
s.op->newline() << "#define MAXSKIPPED 100";
s.op->newline() << "#endif";
+ s.op->newline() << "#ifndef MINSTACKSPACE";
+ s.op->newline() << "#define MINSTACKSPACE 1024";
+ s.op->newline() << "#endif";
// impedance mismatch
// STP_STRING_SIZE defines the size of the buffer