diff options
author | Josh Stone <jistone@redhat.com> | 2009-09-03 12:26:37 -0700 |
---|---|---|
committer | Josh Stone <jistone@redhat.com> | 2009-09-03 12:26:37 -0700 |
commit | 178ac3f6fdef839ef1ca646421e2c436a91ac1fb (patch) | |
tree | ec6c7f0e3cd3c60d4d449feda452d9572ed974e3 /dwflpp.h | |
parent | 789448a36f57e53cc6a1878f7637998b0f15652c (diff) | |
download | systemtap-steved-178ac3f6fdef839ef1ca646421e2c436a91ac1fb.tar.gz systemtap-steved-178ac3f6fdef839ef1ca646421e2c436a91ac1fb.tar.xz systemtap-steved-178ac3f6fdef839ef1ca646421e2c436a91ac1fb.zip |
Use a regexp for matching blacklist sections
We already use regexp for function/file blacklisting, so this just makes
the section blacklisting consistent with the rest.
* dwflpp.cxx (dwflpp::blacklisted_p): Use regexec instead of section==.
(dwflpp::build_blacklist): Build blacklist_section too.
Diffstat (limited to 'dwflpp.h')
-rw-r--r-- | dwflpp.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -369,6 +369,7 @@ private: regex_t blacklist_func; // function/statement probes regex_t blacklist_func_ret; // only for .return probes regex_t blacklist_file; // file name + regex_t blacklist_section; // init/exit sections bool blacklist_enabled; void build_blacklist(); std::string get_blacklist_section(Dwarf_Addr addr); |