summaryrefslogtreecommitdiffstats
path: root/dwflpp.h
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2009-09-03 12:00:10 -0700
committerJosh Stone <jistone@redhat.com>2009-09-03 12:00:10 -0700
commit789448a36f57e53cc6a1878f7637998b0f15652c (patch)
tree790e6f8631684a1c99ead9c79c8d009025cd0165 /dwflpp.h
parent7fdd3e2c61874abd631de5038d846dffb6f5bc5f (diff)
downloadsystemtap-steved-789448a36f57e53cc6a1878f7637998b0f15652c.tar.gz
systemtap-steved-789448a36f57e53cc6a1878f7637998b0f15652c.tar.xz
systemtap-steved-789448a36f57e53cc6a1878f7637998b0f15652c.zip
Fetch the blacklist section only when needed
We only check blacklisting on kernel probes, so it's a waste to dig up the section name otherwise. * dwflpp.cxx (dwflpp::blacklisted_p): Lookup the section directly. (relocate_address::relocate_address): Don't do blacklisting here. * tapsets.cxx (dwarf_query::add_probe_point): Don't carry the blacklist section directly anymore.
Diffstat (limited to 'dwflpp.h')
-rw-r--r--dwflpp.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/dwflpp.h b/dwflpp.h
index 34531071..ea14bb87 100644
--- a/dwflpp.h
+++ b/dwflpp.h
@@ -268,13 +268,10 @@ struct dwflpp
const std::string& filename,
int line,
const std::string& module,
- const std::string& section,
Dwarf_Addr addr,
bool has_return);
- Dwarf_Addr relocate_address(Dwarf_Addr addr,
- std::string& reloc_section,
- std::string& blacklist_section);
+ Dwarf_Addr relocate_address(Dwarf_Addr addr, std::string& reloc_section);
Dwarf_Addr literal_addr_to_sym_addr(Dwarf_Addr lit_addr);