summaryrefslogtreecommitdiffstats
path: root/dwflpp.h
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2009-07-08 13:04:10 -0400
committerFrank Ch. Eigler <fche@elastic.org>2009-07-08 13:09:36 -0400
commit665e12562a4aa4f40aeeed0cfd207b49f89c9fd1 (patch)
tree617016b8b0f71394217792ae7e571b4e40022383 /dwflpp.h
parent619d9aaf011c975159a79d34259083a596162bf1 (diff)
downloadsystemtap-steved-665e12562a4aa4f40aeeed0cfd207b49f89c9fd1.tar.gz
systemtap-steved-665e12562a4aa4f40aeeed0cfd207b49f89c9fd1.tar.xz
systemtap-steved-665e12562a4aa4f40aeeed0cfd207b49f89c9fd1.zip
PR3498 cont'd, fix wildcard module("*") probes
* dwflpp.cxx (name_has_wildcard): Make static. (dwfl_report_offline_predicate): Check & adjust behavior. * dwflpp.h: Corresponding changes. * tapsets.cxx: Note that kern_dw[] keys may be wildcard strings. * testsuite/buildok/fortysix.stp: New test.
Diffstat (limited to 'dwflpp.h')
-rw-r--r--dwflpp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwflpp.h b/dwflpp.h
index d6d97cd0..e0098b9b 100644
--- a/dwflpp.h
+++ b/dwflpp.h
@@ -178,7 +178,7 @@ struct dwflpp
Dwarf_Die *query_cu_containing_address(Dwarf_Addr a);
bool module_name_matches(const std::string& pattern);
- bool name_has_wildcard(const std::string& pattern);
+ static bool name_has_wildcard(const std::string& pattern);
bool module_name_final_match(const std::string& pattern);
bool function_name_matches_pattern(const std::string& name, const std::string& pattern);