]> sourceware.org Git - systemtap.git/commit
Compute cu_name dynamically
authorJosh Stone <jistone@redhat.com>
Wed, 26 Aug 2009 01:53:40 +0000 (18:53 -0700)
committerJosh Stone <jistone@redhat.com>
Wed, 26 Aug 2009 01:53:40 +0000 (18:53 -0700)
commit544174947817538d15a105fe2de4f2094079fd6c
tree309351fdbcf89218562285542858d9dba05f3000
parentc1c5bb9a8bd0a58f98708f949e4dbe74561898a7
Compute cu_name dynamically

We only need cu_name for errors and verbose messages, so it's a waste to
always construct it in focus_on_cu.  It's now built only as-needed.

* dwflpp.cxx (dwflpp::cu_name): Now a method instead of a data member.
  (dwflpp::focus_on_module): No cu_name to clear now.
  (dwflpp::focus_on_cu): No cu_name to set now.
  (dwflpp::declaration_resolve): Adjust to call cu_name() now.
  (dwflpp::iterate_over_functions): Ditto.
* tapsets.cxx (query_cu): Ditto.
dwflpp.cxx
dwflpp.h
tapsets.cxx
This page took 0.02748 seconds and 5 git commands to generate.