]> sourceware.org Git - systemtap.git/commit
Split _stp_module_relocate into kernel and user space lookup functions.
authorMark Wielaard <mjw@redhat.com>
Sun, 27 Jun 2010 12:18:33 +0000 (14:18 +0200)
committerMark Wielaard <mjw@redhat.com>
Sun, 27 Jun 2010 12:18:33 +0000 (14:18 +0200)
commita049e3425e6fe671623dc2fe0eb6d959441b234c
tree2481b376a5572dc8ccb6451d614c5aea1654ef5a
parent39e0508c6b18afcc1d1eb439f7fc469b859d5100
Split _stp_module_relocate into kernel and user space lookup functions.

Simplify relocation logic by splitting kernel and user space module lookups.

* runtime/sym.h (_stp_module_relocate): Split into ...
  (_stp_kmodule_relocate): ... this for kernel module lookups and ...
  (_stp_umodule_relocate): ... this for user space lookups.
* runtime/sym.c: Likewise.
  (_stp_module_check): Use _stp_kmodule_relocate.
* dwflpp.cxx (dwflpp::emit_address): Use _stp_kmodule_relocate or
  _stp_umodule_relocate as appropriate.
* tapsets.cxx (dwarf_derived_probe_group::emit_module_init): Use
  _stp_kmodule_relocate for kprobes.
dwflpp.cxx
runtime/sym.c
runtime/sym.h
tapsets.cxx
This page took 0.024652 seconds and 5 git commands to generate.