[Bug runtime/6998] probefunc returns hex addresses for timer and profile probes rather than function name

wenji dot huang at oracle dot com sourceware-bugzilla@sourceware.org
Thu Nov 6 09:10:00 GMT 2008


------- Additional Comments From wenji dot huang at oracle dot com  2008-11-06 09:09 -------
The patch will insert kernel symbols for probe timer.profile. Seems make the
thing right. One question is whether the probe will be triggered from caller in
modules.

diff --git a/tapsets.cxx b/tapsets.cxx
index 5acf50c..a3a0b43 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -7339,6 +7339,7 @@ struct profile_builder: public derived_probe_builder
                     literal_map_t const &,
                     vector<derived_probe *> & finished_results)
   {
+    sess.unwindsym_modules.insert ("kernel");
     finished_results.push_back(new profile_derived_probe(sess, base, location));
   }
 };


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=6998

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Systemtap mailing list