This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/9767] New: static probes only work with -c executable (and no arguments)
- From: "mjw at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 20 Jan 2009 16:25:37 -0000
- Subject: [Bug translator/9767] New: static probes only work with -c executable (and no arguments)
- Reply-to: sourceware-bugzilla at sourceware dot org
When leaving out -c executable or when adding arguments to the -c executable
static probes aren't properly resolved. For example:
$ stap -vv postgres.stp
Pass 1: parsed user script and 47 library script(s) in 280usr/30sys/315real ms.
semantic error: no match while resolving probe point process("").statement(4671212)
semantic error: no match while resolving probe point process("").statement(4672674)
[...]
semantic error: no probes found
When adding -c, but also arguments, one gets:
$ stap -vv postgres.stp -c '/usr/bin/postgres -D /tmp/data'
Pass 1: parsed user script and 47 library script(s) in 290usr/20sys/356real ms.
semantic error: no match while resolving probe point process("/usr/bin/postgres
-D /tmp/data").statement(4671212)
semantic error: no match while resolving probe point process("/usr/bin/postgres
-D /tmp/data").statement(4672674)
[...]
semantic error: no probes found
(Note how the argument appears in the process probe point.)
--
Summary: static probes only work with -c executable (and no
arguments)
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: mjw at redhat dot com
CC: scox at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=9767
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.