summaryrefslogtreecommitdiffstats
path: root/hash.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'hash.cxx')
-rw-r--r--hash.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/hash.cxx b/hash.cxx
index df29afed..a4589577 100644
--- a/hash.cxx
+++ b/hash.cxx
@@ -263,13 +263,14 @@ find_hash (systemtap_session& s, const string& script)
string
-find_tracequery_hash (systemtap_session& s, const string& header)
+find_tracequery_hash (systemtap_session& s, const vector<string>& headers)
{
hash h;
get_base_hash(s, h);
- // Add the tracepoint header to the computed hash
- h.add_file(header);
+ // Add the tracepoint headers to the computed hash
+ for (size_t i = 0; i < headers.size(); ++i)
+ h.add_file(headers[i]);
// Add any custom kbuild flags
for (unsigned i = 0; i < s.kbuildflags.size(); i++)