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/10917] New: environment variable expansion in executable search


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.


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