diff options
author | Josh Stone <jistone@redhat.com> | 2009-08-25 18:53:40 -0700 |
---|---|---|
committer | Josh Stone <jistone@redhat.com> | 2009-08-25 18:53:40 -0700 |
commit | 544174947817538d15a105fe2de4f2094079fd6c (patch) | |
tree | 309351fdbcf89218562285542858d9dba05f3000 /testsuite/systemtap.base/pointer_array.stp | |
parent | c1c5bb9a8bd0a58f98708f949e4dbe74561898a7 (diff) | |
download | systemtap-steved-544174947817538d15a105fe2de4f2094079fd6c.tar.gz systemtap-steved-544174947817538d15a105fe2de4f2094079fd6c.tar.xz systemtap-steved-544174947817538d15a105fe2de4f2094079fd6c.zip |
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.
Diffstat (limited to 'testsuite/systemtap.base/pointer_array.stp')
0 files changed, 0 insertions, 0 deletions