]> sourceware.org Git - systemtap.git/commit
PR17073: module probes: support out-of-tree modules
authorJonathan Lebon <jlebon@redhat.com>
Wed, 9 Jul 2014 14:44:43 +0000 (10:44 -0400)
committerJonathan Lebon <jlebon@redhat.com>
Thu, 10 Jul 2014 19:33:47 +0000 (15:33 -0400)
commit4766b1e6c87368fc33c63163217d15b2a86ac94f
tree94e60996efa357098d71599047257a2595d41492
parent8e30940ddf220fed95e73012c3cd307031db35ac
PR17073: module probes: support out-of-tree modules

This patch adds support for out-of-tree modules by specifying the
fullpath. This did not work before because both the _stp_module struct
and the stap_dwarf_probe struct were using the full path as the module
name. This caused issues during relocation of module sections/kprobe
addresses.

In this patch, we use the already existing modname_from_path() function
to modify the module member of the dwarf_derived_probe (which later
affects the stap_dwarf_probe struct) and to emit the proper name in
dump_unwindsym_cxt() for the _stp_module struct.
setupdwfl.cxx
setupdwfl.h
tapsets.cxx
translate.cxx
This page took 0.02925 seconds and 5 git commands to generate.