summaryrefslogtreecommitdiffstats
path: root/session.h
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2009-02-06 14:13:51 -0800
committerJosh Stone <jistone@redhat.com>2009-02-06 14:13:51 -0800
commit5c54d49ebb4da71680cb45e3be221e11b9b8d364 (patch)
treec5e59486bb87fa8c69061151e5bccf888ffdc97d /session.h
parent02a8be39355aeeba2dd873e68ec6527960fc9a12 (diff)
downloadsystemtap-steved-5c54d49ebb4da71680cb45e3be221e11b9b8d364.tar.gz
systemtap-steved-5c54d49ebb4da71680cb45e3be221e11b9b8d364.tar.xz
systemtap-steved-5c54d49ebb4da71680cb45e3be221e11b9b8d364.zip
Save kernel autoconf options in a cache file
We're getting enough autoconf tests now that it's a significant chunk of the build time. Adding this cache shaves several seconds off for me. * hash.cxx (find_hash): Compute a separate script-independent hash for caching autoconf values, saved in session.stapconf_path. * buildrun.cxx (compile_pass): Tweak the Makefile to read/save the autoconf values in the cache directory
Diffstat (limited to 'session.h')
-rw-r--r--session.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/session.h b/session.h
index 9a28c936..c55310d3 100644
--- a/session.h
+++ b/session.h
@@ -112,6 +112,7 @@ struct systemtap_session
bool use_cache;
std::string cache_path;
std::string hash_path;
+ std::string stapconf_path;
// dwarfless operation
bool consult_symtab;