From f12b25521d41eacf1af8ce216fa2b39d81b54208 Mon Sep 17 00:00:00 2001 From: fche Date: Thu, 6 Oct 2005 18:59:50 +0000 Subject: 2005-10-06 Frank Ch. Eigler * stap.1.in: Document -b/-s options. * main.cxx (usage): Clarify -b/-s blurbs. * translator.cxx (translate_pass): Handle bulk_mode here instead. --- translate.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'translate.cxx') diff --git a/translate.cxx b/translate.cxx index 981d71df..276382e5 100644 --- a/translate.cxx +++ b/translate.cxx @@ -2462,6 +2462,9 @@ translate_pass (systemtap_session& s) s.op->newline() << "#define STP_STRING_SIZE MAXSTRINGLEN"; s.op->newline() << "#define STP_NUM_STRINGS 1"; + if (s.bulk_mode) + s.op->newline() << "#define STP_RELAYFS"; + s.op->newline() << "#if TEST_MODE"; s.op->newline() << "#include \"runtime.h\""; s.op->newline() << "#else"; -- cgit