]> sourceware.org Git - systemtap.git/commit
Cache Dwfl's for reuse between pass 2 and pass 3.
authorMark Wielaard <mjw@redhat.com>
Tue, 29 Sep 2009 14:45:37 +0000 (16:45 +0200)
committerMark Wielaard <mjw@redhat.com>
Tue, 29 Sep 2009 14:45:37 +0000 (16:45 +0200)
commit68983551cc9390aa2bddd8e62ed0f0e3eca1edb6
tree98dc1f189dac99351989f7167b84a88f39d6a86c
parent497f19d74912d0b6adf729f88509c71a45cacdd4
Cache Dwfl's for reuse between pass 2 and pass 3.

* setupdwfl.h: Introduce DwflPtr.
* setupdwfl.cxx: Cache kernel_dwfl and user_dwfl. Keep track of last used
  module strings. Return cached versions if same query used.
* dwflpp.h: Use DwflPtr instead of Dwfl*.
* dwflpp.cxx: Use DwflPtr and don't dwfl_end().
* translate.cxx: Likewise. Run through dwfl_getmodules() with returned
  ptr offset.
dwflpp.cxx
dwflpp.h
setupdwfl.cxx
setupdwfl.h
translate.cxx
This page took 0.026265 seconds and 5 git commands to generate.