From fe3d01fa89a373b8f930689cf2375cc04cb57b74 Mon Sep 17 00:00:00 2001 From: fche Date: Mon, 1 Aug 2005 19:39:05 +0000 Subject: 2005-08-01 Frank Ch. Eigler * elaborate.cxx (derive_probes, semantic_pass_symbols): Improve error message specificity. * translate.cxx (emit_module_init): Compact partial registration recovery code. (emit_module_exit): Invert deregistration sequence. * testsuite/buildok/four.stp: Some module() test case. --- tapsets.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tapsets.cxx') diff --git a/tapsets.cxx b/tapsets.cxx index a51ce4e4..25be7166 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -1275,6 +1275,7 @@ dwarf_derived_probe::register_patterns(match_node * root) // .process("foo") register_function_and_statement_variants(root->bind(TOK_KERNEL), dw); + // XXX: may need to disable these for 2005-08 release register_function_and_statement_variants(root->bind_str(TOK_MODULE), dw); register_function_and_statement_variants(root->bind_str(TOK_PROCESS), dw); } @@ -1329,7 +1330,6 @@ dwarf_derived_probe::emit_registrations (translator_output* o, unsigned probenum void dwarf_derived_probe::emit_deregistrations (translator_output* o, unsigned probenum) { - o->newline(); o->newline() << "unregister_kprobe (& " << probe_entry_struct_kprobe_name(probenum) << ");"; -- cgit