This is the mail archive of the systemtap-cvs@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-0.9.9-210-g8d7a7bd


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "systemtap: system-wide probe/trace tool".

The branch, master has been updated
       via  8d7a7bd9456c6067e874dabf6ee08b0a4e0de7d0 (commit)
      from  3a45db133bc306fdbdb2b0c8f3aa7f15f1890d9e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8d7a7bd9456c6067e874dabf6ee08b0a4e0de7d0
Author: Josh Stone <jistone@redhat.com>
Date:   Fri Aug 28 18:01:51 2009 -0700

    Cache inline instance lookups
    
    We used to call dwarf_func_inline_instances to get the locations where
    inlines are used.  This function has to iterate through nearly all DIEs
    to find instances, which is a lot of redundant work when we're probing
    multiple inline functions.
    
    Now we have our own dwarf iterator to cache all inline instances back to
    their origin.  This only needs to be called once for each CU, and all
    further inlines are just a map lookup.  Some quick benchmarks:
    
      stap -l                           Before      After
      kernel.function("*")             25010ms     2110ms
      module("*").function("*")        86550ms    16920ms
      process("stap").function("*")    41330ms      580ms
    
    * dwflpp.cxx (dwflpp::cu_inl_function_caching_callback): Removed.
      (dwflpp::cache_inline_instances): New caching iterator.
      (dwflpp::iterate_over_inline_instances): Cache each CU once.

-----------------------------------------------------------------------

Summary of changes:
 dwflpp.cxx |   61 +++++++++++++++++++++++++++++++++++++++++++++++++----------
 dwflpp.h   |    3 +-
 2 files changed, 52 insertions(+), 12 deletions(-)


hooks/post-receive
--
systemtap: system-wide probe/trace tool


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]