This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug tapsets/11707] New: on ppc, all nd_syscall probes fail
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 15 Jun 2010 18:16:27 -0000
- Subject: [Bug tapsets/11707] New: on ppc, all nd_syscall probes fail
- Reply-to: sourceware-bugzilla at sourceware dot org
On ppc, simple tests using the nd_syscall tapset fail in two ways:
1) At compile time, I get this:
# stap -ve 'probe nd_syscall.open { println(filename) }' -c 'cat /dev/null'
Pass 1: parsed user script and 65 library script(s) using
29184virt/25408res/5440shr kb, in 300usr/0sys/305real ms.
Pass 2: analyzed script: 4 probe(s), 13 function(s), 16 embed(s), 2
global(s) using 29568virt/26112res/5696shr kb, in 20usr/0sys/23real ms.
Pass 3: translated to C into
"/tmp/stapUkWTmX/stap_016c23e1525f681253ac83abbcf7ed8b_18164.c" using
29568virt/26368res/5888shr kb, in 10usr/10sys/9real ms.
cc1: warnings being treated as errors
/tmp/stapUkWTmX/stap_016c23e1525f681253ac83abbcf7ed8b_18164.c: In
function ?function__stp_get_register_by_offset?:
/tmp/stapUkWTmX/stap_016c23e1525f681253ac83abbcf7ed8b_18164.c:1483:
warning: format ?%lld? expects type ?long long int?, but argument 4 has
type ?int64_t?
make[1]: ***
[/tmp/stapUkWTmX/stap_016c23e1525f681253ac83abbcf7ed8b_18164.o] Error 1
make: *** [_module_/tmp/stapUkWTmX] Error 2
Pass 4: compiled C into "stap_016c23e1525f681253ac83abbcf7ed8b_18164.ko"
in 2130usr/220sys/2367real ms.
Pass 4: compilation failed. Try again with another '--vp 0001' option.
2) After fixing the above, I get wrong values for arguments. For example:
# stap -e 'probe nd_syscall.open { println(argstr) }' -c 'cat /dev/null'
<unknown>, O_RDONLY|O_DIRECT|O_EXCL|O_LARGEFILE|O_NOFOLLOW|O_NONBLOCK|O_SYNC|O_TRUNC
<unknown>, O_RDONLY|O_DIRECT|O_EXCL|O_LARGEFILE|O_NOFOLLOW|O_NONBLOCK|O_SYNC|O_TRUNC
<unknown>, O_RDONLY|O_DIRECT|O_EXCL|O_LARGEFILE|O_NOFOLLOW|O_NONBLOCK|O_SYNC|O_TRUNC
<unknown>, O_RDONLY|O_DIRECT|O_EXCL|O_LARGEFILE|O_NOFOLLOW|O_NONBLOCK|O_SYNC|O_TRUNC
--
Summary: on ppc, all nd_syscall probes fail
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: tapsets
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: dsmith at redhat dot com
GCC host triplet: ppc
http://sourceware.org/bugzilla/show_bug.cgi?id=11707
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.