From f982c59b2c2b1c25684213c816a69f18a98fea8a Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Mon, 20 Jul 2009 18:01:40 -0700 Subject: 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. --- buildrun.h | 1 + 1 file changed, 1 insertion(+) (limited to 'buildrun.h') diff --git a/buildrun.h b/buildrun.h index 7fa4ccfc..bec81aca 100644 --- a/buildrun.h +++ b/buildrun.h @@ -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& extra_headers); int make_typequery(systemtap_session& s, std::string& module); -- cgit