From 775d51e5fb2f379fe4ae15dcbae8b17e4eab8805 Mon Sep 17 00:00:00 2001 From: David Smith Date: Mon, 14 Apr 2008 12:22:53 -0500 Subject: 2008-04-14 David Smith * elaborate.h (struct derived_probe_group): Removed emit_module_header virtual function. * translate.cxx (c_unparser::emit_common_header): Removed calls to emit_module_header function. * tapsets.cxx (be_derived_probe>): Removed emit_module_header function. (struct timer_derived_probe_group): Ditto. (struct profile_derived_probe_group): Ditto. (struct procfs_derived_probe_group): Ditto. (struct hrtimer_derived_probe_group): Ditto. (struct perfmon_derived_probe_group): Ditto. (dwarf_derived_probe_group::emit_module_decls): Moved kernel check back from deleted emit_module_header function. (uprobe_derived_probe_group::emit_module_decls): Ditto. (mark_derived_probe_group::join_group): Moved marker kernel check (to a new embedded code section) from deleted emit_module_header function. --- elaborate.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'elaborate.h') diff --git a/elaborate.h b/elaborate.h index f53f3870..30bf5bce 100644 --- a/elaborate.h +++ b/elaborate.h @@ -150,12 +150,6 @@ struct derived_probe_group { virtual ~derived_probe_group () {} - virtual void emit_module_header (systemtap_session& s) = 0; - // The _header-generated code may assume that only basic includes - // have been generated. _header is called near the start of the - // code generation process, before the context, embedded-C code, - // etc. are generated. - virtual void emit_module_decls (systemtap_session& s) = 0; // The _decls-generated code may assume that declarations such as // the context, embedded-C code, function and probe handler bodies -- cgit