This is the mail archive of the
systemtap-cvs@sourceware.org
mailing list for the systemtap project.
[SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-0.9.9-210-g8d7a7bd
- From: jistone at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 29 Aug 2009 02:03:41 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-0.9.9-210-g8d7a7bd
- Reply-to: systemtap at sourceware dot org
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