summaryrefslogtreecommitdiffstats
path: root/runtime/sym.h
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2009-08-13 22:53:44 -0400
committerFrank Ch. Eigler <fche@elastic.org>2009-08-14 09:04:18 -0400
commit671ceda847955e31bc3ab310eb180fdc687a2ca8 (patch)
tree9fcfa58a88eef99b3c326da8ed641c9a93ffa610 /runtime/sym.h
parentb9bee53ec058c142ac5ba010224dd75669d61ad5 (diff)
downloadsystemtap-steved-671ceda847955e31bc3ab310eb180fdc687a2ca8.tar.gz
systemtap-steved-671ceda847955e31bc3ab310eb180fdc687a2ca8.tar.xz
systemtap-steved-671ceda847955e31bc3ab310eb180fdc687a2ca8.zip
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.
Diffstat (limited to 'runtime/sym.h')
-rw-r--r--runtime/sym.h2
1 files changed, 2 insertions, 0 deletions
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 */