summaryrefslogtreecommitdiffstats
path: root/hash.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'hash.cxx')
-rw-r--r--hash.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/hash.cxx b/hash.cxx
index a0608c03..eac22f48 100644
--- a/hash.cxx
+++ b/hash.cxx
@@ -257,12 +257,13 @@ find_hash (systemtap_session& s, const string& script)
string
-find_tracequery_hash (systemtap_session& s)
+find_tracequery_hash (systemtap_session& s, const string& header)
{
hash h;
get_base_hash(s, h);
- // The basic hash should be good enough for the tracepoint query module
+ // Add the tracepoint header to the computed hash
+ h.add_file(header);
// Get the directory path to store our cached module
string result, hashdir;