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 tapsets/11162] New: on s390x, the 'syscall.pwrite32' tapset alias fails to compile


on s390x (kernel 2.6.18-164.el5), the following error occurs:

====
# stap -ve 'probe syscall.pwrite32 { printf("%d\n", buf_uaddr) }'
Pass 1: parsed user script and 65 library script(s) using
28656virt/20192res/2560shr kb, in 360usr/10sys/380real ms.
semantic error: unable to find local 'buf' near pc 0x113dfc in
sys32_pwrite64(arch/s390/kernel/compat_linux.c) (alternatives: fd ubuf count
poshi poslo): identifier '$buf' at
/usr/local/share/systemtap/tapset/syscalls2.stp:575:14
        source: 	buf_uaddr = $buf
                	            ^
Pass 2: analyzed script: 1 probe(s), 1 function(s), 0 embed(s), 0 global(s)
using 72464virt/53480res/26440shr kb, in 320usr/200sys/525real ms.
Pass 2: analysis failed.  Try again with another '--vp 01' option.
====

On s390x, '$buf' should be '$ubuf'.

-- 
           Summary: on s390x, the 'syscall.pwrite32' tapset alias fails to
                    compile
           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


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

------- 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]