diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2008-04-28 12:57:23 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2008-04-28 12:57:23 -0400 |
commit | a9494f08acbb5f3a7d887b9591453d0801e41824 (patch) | |
tree | bfc270f0c7eca1cc5c297f9f540f9125788d761f | |
parent | 9915575b17cdf08dc523f927e424d3982d4ed787 (diff) | |
download | systemtap-steved-a9494f08acbb5f3a7d887b9591453d0801e41824.tar.gz systemtap-steved-a9494f08acbb5f3a7d887b9591453d0801e41824.tar.xz systemtap-steved-a9494f08acbb5f3a7d887b9591453d0801e41824.zip |
cleanup: remove never-implemented runtime TEST_MODE compile flag
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | runtime/ChangeLog | 4 | ||||
-rw-r--r-- | runtime/runtime.h | 8 | ||||
-rw-r--r-- | translate.cxx | 3 |
4 files changed, 8 insertions, 11 deletions
@@ -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"; |