summaryrefslogtreecommitdiffstats
path: root/translate.cxx
diff options
context:
space:
mode:
authorhunt <hunt>2007-01-31 20:19:19 +0000
committerhunt <hunt>2007-01-31 20:19:19 +0000
commit323b83644729702823d91944ec06710607eee8ca (patch)
tree6d20d6643fec2101ab9dad8eeb375f542cf3fecc /translate.cxx
parent75369330bca225a873cade3ea3f9829450c9fb07 (diff)
downloadsystemtap-steved-323b83644729702823d91944ec06710607eee8ca.tar.gz
systemtap-steved-323b83644729702823d91944ec06710607eee8ca.tar.xz
systemtap-steved-323b83644729702823d91944ec06710607eee8ca.zip
2007-01-31 Martin Hunt <hunt@redhat.com>
* translate.cxx (translate_pass): Remove old string impedance mismatch stuff. Modify included files.
Diffstat (limited to 'translate.cxx')
-rw-r--r--translate.cxx13
1 files changed, 2 insertions, 11 deletions
diff --git a/translate.cxx b/translate.cxx
index 10c59f31..30fb21b8 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -4074,14 +4074,6 @@ translate_pass (systemtap_session& s)
s.op->newline() << "#define MINSTACKSPACE 1024";
s.op->newline() << "#endif";
- // XXX: impedance mismatch
- // STP_STRING_SIZE defines the size of the buffer
- // used in stack traces.
- s.op->newline() << "#ifndef STP_STRING_SIZE";
- s.op->newline() << "#define STP_STRING_SIZE 1024";
- s.op->newline() << "#endif";
- s.op->newline() << "#define STP_NUM_STRINGS 1";
-
if (s.bulk_mode)
{
s.op->newline() << "#define STP_RELAYFS";
@@ -4097,11 +4089,10 @@ translate_pass (systemtap_session& s)
s.op->newline() << "#define STP_PERFMON";
s.op->newline() << "#include \"runtime.h\"";
- s.op->newline() << "#include \"current.c\"";
- s.op->newline() << "#include \"stack.c\"";
s.op->newline() << "#include \"regs.c\"";
+ s.op->newline() << "#include \"stack.c\"";
+ s.op->newline() << "#include \"regs-ia64.c\"";
s.op->newline() << "#include \"stat.c\"";
- s.op->newline() << "#include \"arith.c\"";
s.op->newline() << "#include <linux/string.h>";
s.op->newline() << "#include <linux/timer.h>";
s.op->newline() << "#include <linux/delay.h>";