summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2010-01-18 14:36:47 -0800
committerJosh Stone <jistone@redhat.com>2010-01-18 14:36:47 -0800
commit70dc04429ec63764b6d1dd831c753329d2c0574a (patch)
tree52c015cdf5f90b84ceca4193ba970d6bee617f8a /tapsets.cxx
parent08d1d520616557f6ff7dd023e260ad6577e9e0e8 (diff)
downloadsystemtap-steved-70dc04429ec63764b6d1dd831c753329d2c0574a.tar.gz
systemtap-steved-70dc04429ec63764b6d1dd831c753329d2c0574a.tar.xz
systemtap-steved-70dc04429ec63764b6d1dd831c753329d2c0574a.zip
Fix the listing mode of process.library.mark
Our hack for producing nicer listing modes was to write the mark name in component index 1. That's fine for process.mark, but writes the wrong position for process.library.mark. It now munges the last probe component of any number of indexes. (A better fix is due in PR10831, preserving the derivation chain.)
Diffstat (limited to 'tapsets.cxx')
-rw-r--r--tapsets.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tapsets.cxx b/tapsets.cxx
index d5c6b25e..22aae041 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -3798,7 +3798,7 @@ sdt_query::handle_query_module()
{
// restore the locations to print a nicer probe name
probe_point loc(*base_loc);
- loc.components[1] =
+ loc.components.back() =
new probe_point::component(TOK_MARK, new literal_string (probe_name));
for (; i < results.size(); ++i)
for (unsigned j = 0; j < results[i]->locations.size(); ++j)