From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4276 invoked by alias); 3 Mar 2010 00:07:42 -0000 Received: (qmail 4080 invoked by uid 9586); 3 Mar 2010 00:07:40 -0000 Date: Wed, 03 Mar 2010 00:07:00 -0000 Message-ID: <20100303000740.4039.qmail@sourceware.org> From: jistone@sourceware.org To: systemtap-cvs@sourceware.org Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.1-137-gd105f66 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 42f13348b90fa59532a0c8159dc390cd7a50de0f X-Git-Newrev: d105f6642677bd9ef1b20d1ba180ba0163cb0fa6 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: 2010-q1/txt/msg00172.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 d105f6642677bd9ef1b20d1ba180ba0163cb0fa6 (commit) via 9b3c54b2fc836e20a0a7895aa759938e62eaacf9 (commit) via 6b067d7d20c10acb68d768003bf8031f155e5f39 (commit) via 63d530ab4dacb908c7262be59098ef026e186a30 (commit) from 42f13348b90fa59532a0c8159dc390cd7a50de0f (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 d105f6642677bd9ef1b20d1ba180ba0163cb0fa6 Author: Josh Stone Date: Tue Mar 2 15:57:58 2010 -0800 PR11246 cont'd: Add options for cache control --disable-cache : turn off all caching --clean-cache : clean up stale entries and then quit --poison-cache : force regeneration of items that would have hit the cache These are undocumented for now, until we decide whether they are generally useful. * main.cxx (main): Parse the new options. * session.h (systemtap_session): Add poison_cache; document the others. * clean.cxx (clean_cache): No longer static. (get_stapconf_from_cache, get_script_from_cache): Respect poison. * tapsets.cxx (tracepoint_builder::get_tracequery_module): Ditto. (dwarf_cast_expanding_visitor::filter_special_modules): Ditto. commit 9b3c54b2fc836e20a0a7895aa759938e62eaacf9 Author: Josh Stone Date: Mon Mar 1 18:42:18 2010 -0800 PR11246 cont'd: Separate script/stapconf caching I'm separating the caching and creation logic for stapconf, so it can be conditionalized on s.use_cache instead of s.use_script_cache. * session.h (systemtap_session): Store base_hash for better reuse. * hash.cxx (get_base_hash): Get the base from the session, or build it. (find_hash): Split into separate script/stapconf versions. * cache.cxx (add_to_cache, get_from_cache): Ditto. * main.cxx (main): Adapt caller, and delay stapconf until pass-4. commit 6b067d7d20c10acb68d768003bf8031f155e5f39 Author: Josh Stone Date: Mon Mar 1 17:48:54 2010 -0800 Move pass-3/4 cache checks after the reported pass-2 end * main.cxx (main): Reorganize the end of pass-2 a bit. commit 63d530ab4dacb908c7262be59098ef026e186a30 Author: Josh Stone Date: Mon Mar 1 17:27:53 2010 -0800 PR11246: Add more granular cache control There are some module options that require us to disable caching for the script, but before now this had a global effect. There are some cache objects, like tracepoint and @cast query modules, which we would like to cache even when the script itself needs to be uncached. * session.h (systemtap_session): New use_script_cache flag. * main.cxx (main): -m & -k can just disable the script cache. Failure to create the cache directories still disables all caching. * hash.cxx (create_hashdir): Failure disables all caching. * cache.cxx (add_to_cache): Failure only toggles the script caching. If the stapconf fails though, we don't need to block the .ko reuse. ----------------------------------------------------------------------- Summary of changes: cache.cxx | 65 ++++++++++++++++++++++++++++++++++---------------- cache.h | 9 +++++- elaborate.cxx | 1 + hash.cxx | 42 +++++++++++++++------------------ hash.h | 3 +- main.cxx | 73 ++++++++++++++++++++++++++++++++++++++++++++------------ session.h | 12 ++++++--- tapsets.cxx | 4 +- 8 files changed, 140 insertions(+), 69 deletions(-) hooks/post-receive -- systemtap: system-wide probe/trace tool