summaryrefslogtreecommitdiffstats
path: root/staptree.cxx
diff options
context:
space:
mode:
authorguanglei <guanglei>2006-06-09 09:20:03 +0000
committerguanglei <guanglei>2006-06-09 09:20:03 +0000
commit82e6bf4b654f667ae71acd9667ab1524fba6af93 (patch)
tree7b34199435d65416ecd3a2c8fadcd3b440452d54 /staptree.cxx
parent628a07f130c67aa5de7134c761dd443ff547339a (diff)
downloadsystemtap-steved-82e6bf4b654f667ae71acd9667ab1524fba6af93.tar.gz
systemtap-steved-82e6bf4b654f667ae71acd9667ab1524fba6af93.tar.xz
systemtap-steved-82e6bf4b654f667ae71acd9667ab1524fba6af93.zip
Revert my former changes to lket_trace_extra() in translator.
a new way of allowing user add arbitrary trace data. And also provide a way of letting user write the trace data format.
Diffstat (limited to 'staptree.cxx')
-rw-r--r--staptree.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/staptree.cxx b/staptree.cxx
index 5b9798df..36712c12 100644
--- a/staptree.cxx
+++ b/staptree.cxx
@@ -626,7 +626,6 @@ void print_format::print (ostream& o) const
string name = (string(print_to_stream ? "" : "s")
+ string("print")
+ string(print_with_format ? "f" : ""));
- if(lket_trace_extra) name="lket_trace_extra";
o << name << "(";
if (print_with_format)
{
@@ -2206,7 +2205,6 @@ deep_copy_visitor::visit_print_format (print_format* e)
n->tok = e->tok;
n->print_with_format = e->print_with_format;
n->print_to_stream = e->print_to_stream;
- n->lket_trace_extra = e->lket_trace_extra;
n->raw_components = e->raw_components;
n->components = e->components;
for (unsigned i = 0; i < e->args.size(); ++i)