diff options
author | Josh Stone <jistone@redhat.com> | 2009-06-08 16:37:00 -0700 |
---|---|---|
committer | Josh Stone <jistone@redhat.com> | 2009-06-08 16:37:00 -0700 |
commit | f517ee24c58413f7de89ede71c728579c12ace5b (patch) | |
tree | 8fdc568392f071b62eac5264ae326ba10662cc85 /dwflpp.h | |
parent | 0e14e0793ffb891bccd465cf518480685e3cd49e (diff) | |
download | systemtap-steved-f517ee24c58413f7de89ede71c728579c12ace5b.tar.gz systemtap-steved-f517ee24c58413f7de89ede71c728579c12ace5b.tar.xz systemtap-steved-f517ee24c58413f7de89ede71c728579c12ace5b.zip |
Remove dwflpp::default_name
It was just a basic NULL check, but creating its string temporaries was
causing a fair slowdown. Removing this function and adjusting the
callers shaves ~5% off the syscall.* elaboration time.
Diffstat (limited to 'dwflpp.h')
-rw-r--r-- | dwflpp.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -289,8 +289,6 @@ private: Dwarf * module_dwarf; Dwarf_Die * function; - std::string const default_name(char const * in, char const *); - void setup_kernel(bool debuginfo_needed = true); void setup_user(const std::string& module_name, bool debuginfo_needed = true); |