summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--runtime/ChangeLog4
-rw-r--r--runtime/runtime.h8
-rw-r--r--translate.cxx3
4 files changed, 8 insertions, 11 deletions
diff --git a/ChangeLog b/ChangeLog
index 4d8d89ae..b411d33e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-04-28 Frank Ch. Eigler <fche@elastic.org>
+
+ * translate.cxx (translate_pass): Don't #define TEST_MODE.
+
2008-04-26 Frank Ch. Eigler <fche@elastic.org>
* tapsets.cxx (common_probe_entryfn_prologue): Undo
diff --git a/runtime/ChangeLog b/runtime/ChangeLog
index a2e49822..f5df06f9 100644
--- a/runtime/ChangeLog
+++ b/runtime/ChangeLog
@@ -1,3 +1,7 @@
+2008-04-28 Frank Ch. Eigler <fche@elastic.org>
+
+ * runtime.h (TEST_MODE): Remove.
+
2008-04-25 David Smith <dsmith@redhat.com>
From Srinivasa <srinivasa@in.ibm.com>
diff --git a/runtime/runtime.h b/runtime/runtime.h
index 50eb9d31..2711f531 100644
--- a/runtime/runtime.h
+++ b/runtime/runtime.h
@@ -58,14 +58,6 @@ static struct
#define _stp_seq_inc() (atomic_inc_return(&_stp_seq.seq))
-/* TEST_MODE is always defined by systemtap */
-#ifdef TEST_MODE
-#define SYSTEMTAP 1
-#else
-#define MAXTRYLOCK 1000
-#define TRYLOCKDELAY 100
-#endif
-
#ifndef MAXSTRINGLEN
#define MAXSTRINGLEN 128
#endif
diff --git a/translate.cxx b/translate.cxx
index 1b812ec1..4ccf3bba 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -4496,9 +4496,6 @@ translate_pass (systemtap_session& s)
{
// This is at the very top of the file.
- // XXX: the runtime uses #ifdef TEST_MODE to infer systemtap usage.
- s.op->line() << "#define TEST_MODE 0\n";
-
s.op->newline() << "#ifndef MAXNESTING";
s.op->newline() << "#define MAXNESTING 10";
s.op->newline() << "#endif";