diff options
author | Srinivasa DS <srinivasa@in.ibm.com> | 2008-04-23 15:06:32 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2008-04-23 15:06:32 -0400 |
commit | f90f92615df6ff2a62282359281889597e5dbf17 (patch) | |
tree | 6c0b9a53c79606c8515aacf7422fd67ad84cb75f | |
parent | f0e6dc6304d8fea1e5fac151581f5deba0b07833 (diff) | |
download | systemtap-steved-f90f92615df6ff2a62282359281889597e5dbf17.tar.gz systemtap-steved-f90f92615df6ff2a62282359281889597e5dbf17.tar.xz systemtap-steved-f90f92615df6ff2a62282359281889597e5dbf17.zip |
PR6416: extend probing blacklist with more init/exit sections
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | tapsets.cxx | 8 |
2 files changed, 12 insertions, 1 deletions
@@ -1,5 +1,10 @@ 2008-04-23 Frank Ch. Eigler <fche@elastic.org> + From: Srinivasa DS <srinivasa@in.ibm.com> + * tapsets.cxx (blacklisted_p): Blacklist more init/exit sections. + +2008-04-23 Frank Ch. Eigler <fche@elastic.org> + * tapsets.cxx (common_probe_entryfn_prologue): Clear overload-related context vars. diff --git a/tapsets.cxx b/tapsets.cxx index 6e776a58..c0a090e2 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -2618,7 +2618,13 @@ dwarf_query::blacklisted_p(const string& funcname, Dwarf_Addr addr) { if (section.substr(0, 6) == string(".init.") || - section.substr(0, 6) == string(".exit.")) + section.substr(0, 6) == string(".exit.") || + section.substr(0, 9) == string(".devinit.") || + section.substr(0, 9) == string(".devexit.") || + section.substr(0, 9) == string(".cpuinit.") || + section.substr(0, 9) == string(".cpuexit.") || + section.substr(0, 9) == string(".meminit.") || + section.substr(0, 9) == string(".memexit.")) { // NB: module .exit. routines could be probed in theory: // if the exit handler in "struct module" is diverted, |