summaryrefslogtreecommitdiffstats
path: root/dwflpp.h
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-06-25 11:51:29 -0400
committerDave Brolley <brolley@redhat.com>2009-06-25 11:51:29 -0400
commita2958e68a76148370e8aaf41dafcb6a5726fc595 (patch)
tree76727b8f5ab14c9abdbd00ce92898fb9e0ae49a9 /dwflpp.h
parent313db8e6d1e62f372d168b7368f220cb432d07d6 (diff)
parentf1d04fa79e3c8664e8e6b2d1d3f38e1e51effcbf (diff)
downloadsystemtap-steved-a2958e68a76148370e8aaf41dafcb6a5726fc595.tar.gz
systemtap-steved-a2958e68a76148370e8aaf41dafcb6a5726fc595.tar.xz
systemtap-steved-a2958e68a76148370e8aaf41dafcb6a5726fc595.zip
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'dwflpp.h')
-rw-r--r--dwflpp.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/dwflpp.h b/dwflpp.h
index ec2fc2b9..8b503b33 100644
--- a/dwflpp.h
+++ b/dwflpp.h
@@ -198,13 +198,13 @@ struct dwflpp
Dwarf_Die *query_cu_containing_address(Dwarf_Addr a);
- bool module_name_matches(std::string pattern);
- bool name_has_wildcard(std::string pattern);
- bool module_name_final_match(std::string pattern);
+ bool module_name_matches(const std::string& pattern);
+ bool name_has_wildcard(const std::string& pattern);
+ bool module_name_final_match(const std::string& pattern);
- bool function_name_matches_pattern(std::string name, std::string pattern);
- bool function_name_matches(std::string pattern);
- bool function_name_final_match(std::string pattern);
+ bool function_name_matches_pattern(const std::string& name, const std::string& pattern);
+ bool function_name_matches(const std::string& pattern);
+ bool function_name_final_match(const std::string& pattern);
void iterate_over_modules(int (* callback)(Dwfl_Module *, void **,
const char *, Dwarf_Addr,
@@ -291,6 +291,8 @@ struct dwflpp
std::string& reloc_section,
std::string& blacklist_section);
+ Dwarf_Addr literal_addr_to_sym_addr(Dwarf_Addr lit_addr);
+
private:
Dwfl * dwfl;