From 671ceda847955e31bc3ab310eb180fdc687a2ca8 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Thu, 13 Aug 2009 22:53:44 -0400 Subject: PR10228: use task_finder_vma for -d /user/object files. * main.cxx (main): For "-d /path" arguments, enable task finder. * runtime/sym.h (_stp_module): Add *vmcb member. * task_finder{.cxx,.h} (emit_vma_callback_probe_decl): Zap. * tapset-itrace.cxx, tapset-utrace.cxx: Use unwindsyms_modules instead. * tapsets.cxx (uprobe::emit_module_decls): Ditto. * translate.cxx (emit_module_init): Emit task finder registrations for vmcb's associated with _stp_modules. (dump_unwindsyms): Associate vmcbs with user-space unwindsyms entries. --- runtime/sym.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'runtime/sym.h') diff --git a/runtime/sym.h b/runtime/sym.h index ca69345f..262b1776 100644 --- a/runtime/sym.h +++ b/runtime/sym.h @@ -30,6 +30,8 @@ struct _stp_module { struct _stp_section *sections; unsigned num_sections; + struct stap_task_finder_target *vmcb; /* PR10228 */ + /* A pointer to the struct module. Note that we cannot */ /* trust this because as of 2.6.19, there are not yet */ /* any notifier hooks that will tell us when a module */ -- cgit