]> sourceware.org Git - systemtap.git/commit
stapdyn: Limit functions searches to the stap module
authorJosh Stone <jistone@redhat.com>
Sat, 6 Oct 2012 00:02:56 +0000 (17:02 -0700)
committerJosh Stone <jistone@redhat.com>
Sat, 6 Oct 2012 00:59:24 +0000 (17:59 -0700)
commiteb991eea087991b5cef2e9d7cd9bf415dbec8edf
tree2eb232ae510bdc1cc003b5b27f0cbdc883ec6143
parent86603f75e429609194d954fbe55e1dd82d62508f
stapdyn: Limit functions searches to the stap module

This is slightly more efficient because we already know which object we
expect to have the functions, so we don't need to search the whole app.

* stapdyn/stapdyn.cxx (call_inferior_function): Take the BPatch_object
  in which we're searching for functions as a parameter.
  (instrument_uprobe_target, instrument_uprobes): Ditto.
  (dynamic_library_callback): Pass the stap dso from global.
  (main): Save the stap dso into a global, and pass it as needed.
stapdyn/stapdyn.cxx
This page took 0.025394 seconds and 5 git commands to generate.