summaryrefslogtreecommitdiffstats
path: root/dwflpp.h
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2009-09-03 12:26:37 -0700
committerJosh Stone <jistone@redhat.com>2009-09-03 12:26:37 -0700
commit178ac3f6fdef839ef1ca646421e2c436a91ac1fb (patch)
treeec6c7f0e3cd3c60d4d449feda452d9572ed974e3 /dwflpp.h
parent789448a36f57e53cc6a1878f7637998b0f15652c (diff)
downloadsystemtap-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dwflpp.h b/dwflpp.h
index ea14bb87..74a3ae00 100644
--- a/dwflpp.h
+++ b/dwflpp.h
@@ -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);