[Bug translator/12099] New: process("/path/to/shell-script") probes

fche at redhat dot com sourceware-bugzilla@sourceware.org
Tue Oct 5 20:17:00 GMT 2010


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.



More information about the Systemtap mailing list