diff options
author | Kent Sebastian <ksebasti@toddy.(none)> | 2008-10-10 16:03:35 -0400 |
---|---|---|
committer | Kent Sebastian <ksebasti@toddy.(none)> | 2008-10-10 16:03:35 -0400 |
commit | e10599ffadb4cd177581a36feb8485028c9fbf7b (patch) | |
tree | 7186df4920eade54c2a4cad5595767a304e3cb78 | |
parent | f67f24c15aa9bde315142e1e3bb533876841b52a (diff) | |
download | systemtap-steved-e10599ffadb4cd177581a36feb8485028c9fbf7b.tar.gz systemtap-steved-e10599ffadb4cd177581a36feb8485028c9fbf7b.tar.xz systemtap-steved-e10599ffadb4cd177581a36feb8485028c9fbf7b.zip |
Added cache limiting info to man page and NEWS.
-rw-r--r-- | NEWS | 6 | ||||
-rw-r--r-- | stap.1.in | 8 |
2 files changed, 13 insertions, 1 deletions
@@ -88,6 +88,12 @@ but is for some reason unavailable.) In return probes only, $$return expands to an empty string for a void function, or "return=0xf00". +- Cache limiting is now available. If the cache is over a specified limit, + cached modules/sources are unlinked until the total cache size is below + the limit. + + See stap(1) for use. + * What's new in version 0.7 - .statement("func@file:*") and .statement("func@file:M-N") probes are now @@ -865,7 +865,13 @@ script is translated again assuming the same conditions exist (same kernel version, same systemtap version, etc.). Cached files are stored in the .I $SYSTEMTAP_DIR/cache -directory, which may be periodically cleaned/erased by the user. +directory. The cache can be limited by having the file +.I cache_mb_limit +placed in the cache directory (shown above) containing only an ASCII +integer representing how many MiB the cache should not exceed. Note that +this is a 'soft' limit in that the cache will be cleaned after a new entry +is added, so the cache size may temporarily exceed this limit. In the +absence of this file, cache cleaning is up to the user. .SH SAFETY AND SECURITY Systemtap is an administrative tool. It exposes kernel internal data |