diff options
author | Josh Stone <jistone@redhat.com> | 2009-07-20 18:01:40 -0700 |
---|---|---|
committer | Josh Stone <jistone@redhat.com> | 2009-07-20 18:08:15 -0700 |
commit | f982c59b2c2b1c25684213c816a69f18a98fea8a (patch) | |
tree | e0d9894b1fc114d79cc25a6a417d311a0c65f430 /hash.h | |
parent | 9a193b06eb0e5ca463576e4fa9e8da0a70022a4a (diff) | |
download | systemtap-steved-f982c59b2c2b1c25684213c816a69f18a98fea8a.tar.gz systemtap-steved-f982c59b2c2b1c25684213c816a69f18a98fea8a.tar.xz systemtap-steved-f982c59b2c2b1c25684213c816a69f18a98fea8a.zip |
PR10424: Consider each tracepoint header separately
With the current monolithic tracepoint query module, a failure in any of
the discovered tracepoint headers means that you can't use any of the
others either. This patch creates a separate query module for each
header so they can pass or fail independently.
* buildrun.cxx (make_tracequery): take a single header name instead of
globbing for everything we can find.
* hash.cxx (find_tracequery_hash): name the header file we're hashing.
* tapsets.cxx (tracepoint_query::handle_query_func): make sure we don't
duplicate tracepoints found through different headers.
(tracepoint_builder::get_tracequery_module): get a header's module
(tracepoint_builder::init_dw): glob for all tracepoint headers, and
feed all their modules into dwflpp.
Diffstat (limited to 'hash.h')
-rw-r--r-- | hash.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -36,7 +36,7 @@ public: }; void find_hash (systemtap_session& s, const std::string& script); -std::string find_tracequery_hash (systemtap_session& s); +std::string find_tracequery_hash (systemtap_session& s, const std::string& header); std::string find_typequery_hash (systemtap_session& s, const std::string& name); /* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */ |