This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/10917] New: environment variable expansion in executable search
- From: "foom at fuhm dot net" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 8 Nov 2009 02:07:17 -0000
- Subject: [Bug translator/10917] New: environment variable expansion in executable search
- Reply-to: sourceware-bugzilla at sourceware dot org
I'd like to be able to do:
probe process("$INSTALL/lib/libMyStuff.so").function("hello") {}
That is: in addition to doing $PATH finding for the process probe, I'd like it to first expand environment
variables from the user (the one running stap)'s environment.
At first thought, I'd have $$ to escape a $, and also support "${ENVVARNAME}".
If you think this is a good idea, I should be able to come up with a patch to implement it.
--
Summary: environment variable expansion in executable search
Product: systemtap
Version: unspecified
Status: NEW
Severity: enhancement
Priority: P2
Component: translator
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: foom at fuhm dot net
http://sourceware.org/bugzilla/show_bug.cgi?id=10917
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.