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-1.1-137-gd105f66
- From: jistone at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 3 Mar 2010 00:07:40 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.1-137-gd105f66
- 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 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 <jistone@redhat.com>
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 <jistone@redhat.com>
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 <jistone@redhat.com>
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 <jistone@redhat.com>
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