diff options
author | guanglei <guanglei> | 2006-06-09 09:20:03 +0000 |
---|---|---|
committer | guanglei <guanglei> | 2006-06-09 09:20:03 +0000 |
commit | 82e6bf4b654f667ae71acd9667ab1524fba6af93 (patch) | |
tree | 7b34199435d65416ecd3a2c8fadcd3b440452d54 /translate.cxx | |
parent | 628a07f130c67aa5de7134c761dd443ff547339a (diff) | |
download | systemtap-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 'translate.cxx')
-rw-r--r-- | translate.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/translate.cxx b/translate.cxx index eb64d9d0..967949a4 100644 --- a/translate.cxx +++ b/translate.cxx @@ -3591,10 +3591,7 @@ c_unparser::visit_print_format (print_format* e) if (e->print_to_stream) { o->newline() << res.qname() << " = 0;"; - if(e->lket_trace_extra) - o->newline() << "_lket_trace_extra ("; - else - o->newline() << "_stp_printf ("; + o->newline() << "_stp_printf ("; } else o->newline() << "_stp_snprintf (" << res.qname() << ", MAXSTRINGLEN, "; |