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 /buildrun.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 'buildrun.h')
-rw-r--r-- | buildrun.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -15,6 +15,7 @@ int compile_pass (systemtap_session& s); int run_pass (systemtap_session& s); int make_tracequery(systemtap_session& s, std::string& name, + const std::string& header, const std::vector<std::string>& extra_headers); int make_typequery(systemtap_session& s, std::string& module); |