From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12671 invoked by alias); 2 Jun 2009 07:54:43 -0000 Received: (qmail 12645 invoked by uid 9586); 2 Jun 2009 07:54:42 -0000 Date: Tue, 02 Jun 2009 07:54:00 -0000 Message-ID: <20090602075442.12634.qmail@sourceware.org> From: jistone@sourceware.org To: systemtap-cvs@sourceware.org Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-0.9.7-184-gf8f0efc X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 209dd533fc8de83015d7e83d0426a1cb956ff9fc X-Git-Newrev: f8f0efc149191d8d840adb5908f68c81e652d07b Mailing-List: contact systemtap-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-cvs-owner@sourceware.org List-Archive: Reply-To: systemtap@sourceware.org X-SW-Source: 2009-q2/txt/msg00272.txt.bz2 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 f8f0efc149191d8d840adb5908f68c81e652d07b (commit) via c8ad068755e7424e767660f2c27cb3b1e2d5343d (commit) via 276465828851648edc5b56f762a0d100051c9e32 (commit) from 209dd533fc8de83015d7e83d0426a1cb956ff9fc (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 f8f0efc149191d8d840adb5908f68c81e652d07b Merge: c8ad068755e7424e767660f2c27cb3b1e2d5343d 209dd533fc8de83015d7e83d0426a1cb956ff9fc Author: Josh Stone Date: Tue Jun 2 00:53:40 2009 -0700 Merge branch 'master' of ssh://sourceware.org/git/systemtap commit c8ad068755e7424e767660f2c27cb3b1e2d5343d Author: Josh Stone Date: Tue Jun 2 00:43:49 2009 -0700 Cache the last result of dwarf_getscopes This one function accounted for ~30% of my callgrind profile of "stap -l 'syscall.*'", even though it was only called ~1200 times. We call dwarf_getscopes for each $target variable, with the same parameters within a given probe. Since they're no nicely grouped, it's easy to just cache the most recent call, and the next few calls will be a hit. Overall this cuts the number of calls down to about 300, for an easy speed gain. commit 276465828851648edc5b56f762a0d100051c9e32 Author: Josh Stone Date: Mon Jun 1 18:47:30 2009 -0700 Move the blacklist functions into dwflpp For a call like "stap -l 'syscall.*'", I found that ~10% of the time was spent compiling the blacklist regexps over again for each probe point. By moving this functionality into the kernel dwflpp instance, we can reuse the regexps and get an easy speed boost. ----------------------------------------------------------------------- Summary of changes: dwflpp.cxx | 313 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++- dwflpp.h | 26 +++++ tapsets.cxx | 324 +---------------------------------------------------------- 3 files changed, 341 insertions(+), 322 deletions(-) hooks/post-receive -- systemtap: system-wide probe/trace tool