public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/10917] New: environment variable expansion in executable search
@ 2009-11-08  2:07 foom at fuhm dot net
  2009-11-09 16:42 ` [Bug translator/10917] " fche at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: foom at fuhm dot net @ 2009-11-08  2:07 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-11-24 17:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-08  2:07 [Bug translator/10917] New: environment variable expansion in executable search foom at fuhm dot net
2009-11-09 16:42 ` [Bug translator/10917] " fche at redhat dot com
2009-11-09 17:33 ` foom at fuhm dot net
2009-11-24 16:45 ` fche at redhat dot com
2009-11-24 17:15 ` foom at fuhm dot net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).