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/12099] New: process("/path/to/shell-script") probes


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

           Summary: process("/path/to/shell-script") probes
           Product: systemtap
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap@sources.redhat.com
        ReportedBy: fche@redhat.com


Sometimes a putative process file isn't really ELF, so we should try
to open it, and see if it's a shebang type executable script, and map.

ie.

$ cat foo.sh
#! /bin/sh 

echo yo momma

$ stap -L 'probe process("foo.sh").function("*")' 
process("/bin/sh").function("main")
[... etc ...]

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


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