From ae2552daf405ab1f59ddc862cfe0fcb4d90f8174 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Tue, 7 Jul 2009 14:36:53 -0400 Subject: PR3498: speed up pass-2 and pass-3 for kernel offline dwfl module searching * dwflpp.cxx (dwflpp ctor): Parametrize for user/kernel modes. Update callers. (dwfl_report_offline_predicate): New function. Filter and abort searches early if possible. (setup_kernel): Use new predicate. * dwflpp.h: Corresponding changes. * tapsets.cxx (dwfl_report_offline_predicate): Remove this shared implementation. (dwarf_builder): Turn kern_dw into module_name->dwflpp* map, just like user_dw. (get_kern_dw): Adapt. (dwarf_build_no_more): Adapt. * tapsets.h: Remove old shared predicate. * translate.cxx (dwfl_report_offline_predicate2): New function. Filter and abort searches early if possible. (emit_symbol_data): Use it. --- tapsets.h | 1 - 1 file changed, 1 deletion(-) (limited to 'tapsets.h') diff --git a/tapsets.h b/tapsets.h index 7a74ad31..115f2ccf 100644 --- a/tapsets.h +++ b/tapsets.h @@ -15,7 +15,6 @@ void register_standard_tapsets(systemtap_session& sess); std::vector all_session_groups(systemtap_session& s); -int dwfl_report_offline_predicate (const char* modname, const char* filename); void common_probe_entryfn_prologue (translator_output* o, std::string statestr, std::string new_pp, bool overload_processing = true); void common_probe_entryfn_epilogue (translator_output* o, bool overload_processing = true); -- cgit