diff options
author | Josh Stone <jistone@redhat.com> | 2009-03-26 14:09:43 -0700 |
---|---|---|
committer | Josh Stone <jistone@redhat.com> | 2009-03-26 14:09:43 -0700 |
commit | d0d806edbff3dbdc70a1c83dc6ac67c88b9606ce (patch) | |
tree | 6692cf57857510f1d8ec20510eb655f81bc47d6c /hash.cxx | |
parent | 4aa2079a01a62ff27cbe90f5eca38137035d34a8 (diff) | |
download | systemtap-steved-d0d806edbff3dbdc70a1c83dc6ac67c88b9606ce.tar.gz systemtap-steved-d0d806edbff3dbdc70a1c83dc6ac67c88b9606ce.tar.xz systemtap-steved-d0d806edbff3dbdc70a1c83dc6ac67c88b9606ce.zip |
Skip the git-rev in the hash for now (from a5e8d632)
It may be potentially expensive to fork-exec a git call to get the HEAD
revision, and it's not clear whether it's even needed. We can always
throw this back on if we find a meaningful usage scenario.
Diffstat (limited to 'hash.cxx')
-rw-r--r-- | hash.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -97,7 +97,10 @@ get_base_hash (systemtap_session& s, hash& h) // If the kernel is a git working directory, then add the git HEAD // revision to our hash as well. - h.add(git_revision(s.kernel_build_tree)); + // XXX avoiding this for now, because it's potentially expensive and has + // uncertain gain. The only corner case that this may help is if a developer + // is switching the source tree without rebuilding the kernel... + ///h.add(git_revision(s.kernel_build_tree)); // Hash runtime path (that gets added in as "-R path"). h.add(s.runtime_path); |