From 82e6bf4b654f667ae71acd9667ab1524fba6af93 Mon Sep 17 00:00:00 2001 From: guanglei Date: Fri, 9 Jun 2006 09:20:03 +0000 Subject: 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. --- staptree.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'staptree.cxx') 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) -- cgit