]> sourceware.org Git - systemtap.git/commitdiff
Fix the listing mode of process.library.mark
authorJosh Stone <jistone@redhat.com>
Mon, 18 Jan 2010 22:36:47 +0000 (14:36 -0800)
committerJosh Stone <jistone@redhat.com>
Mon, 18 Jan 2010 22:36:47 +0000 (14:36 -0800)
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.)

tapsets.cxx

index d5c6b25ee529390a4a53c298efccaa54b31d51e3..22aae0417b230a3967b8ecbddcbfd52a38b91f74 100644 (file)
@@ -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)
This page took 0.050054 seconds and 5 git commands to generate.