This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/6880] more syntax for shared library probing


------- Additional Comments From mjw at redhat dot com  2009-05-06 09:50 -------
For tapsets it would also be beneficial if you could set a search paths for the
whole tapset. Say /usr/libexec/gcc/*/4.4.0 for a tapset that defines probes for
various gcc frontend or /usr/lib/gcc/*/4.4.0/ for a tapset that wants to
instrument libraries used by gcc frontend and backends. So some way to add a
#define for the STAP_PATH or STAP_LIBRARY_PATH at the top of a tapset, with some
way for the user to override them if they want to reuse the tapset for an
installation in a different location.

Then the tapset could be written with just probe process("cc1") instead of
having the whole path or regex for the path in each and every probe. The
hotspot.stp has the issue that you have to replace the whole path in each probe
in the tapset when changing installation locations.

-- 


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

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]