]> sourceware.org Git - systemtap.git/commit
PR11246 cont'd: Add options for cache control
authorJosh Stone <jistone@redhat.com>
Tue, 2 Mar 2010 23:57:58 +0000 (15:57 -0800)
committerJosh Stone <jistone@redhat.com>
Wed, 3 Mar 2010 00:05:18 +0000 (16:05 -0800)
commitd105f6642677bd9ef1b20d1ba180ba0163cb0fa6
tree49c4869c7c4a687e692bb33beabab3b008beb43d
parent9b3c54b2fc836e20a0a7895aa759938e62eaacf9
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.
cache.cxx
cache.h
main.cxx
session.h
tapsets.cxx
This page took 0.02589 seconds and 5 git commands to generate.