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/16460] New: on ia64, the syscall.unlink probe alias has compile errors


https://sourceware.org/bugzilla/show_bug.cgi?id=16460

            Bug ID: 16460
           Summary: on ia64, the syscall.unlink probe alias has compile
                    errors
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tapsets
          Assignee: systemtap at sourceware dot org
          Reporter: dsmith at redhat dot com
              Host: ia64

On RHEL5 ia64 (), the syscall.unlink probe alias has compile errors:

====
# stap -ve 'probe syscall.umount { printf("%s(%s)\n", name, argstr) }'
Pass 1: parsed user script and 99 library script(s) using
105744virt/30224res/6528shr/24016data kb, in 1483usr/27sys/1519real ms.
Pass 2: analyzed script: 1 probe(s), 6 function(s), 26 embed(s), 0 global(s)
using 179520virt/86784res/49648shr/37296data kb, in 1907usr/436sys/2345real ms.
Pass 3: translated to C into
"/tmp/stapcvPpgk/stap_c6a43944f13b4b5f272b09215721beeb_17507_src.c" using
179520virt/87440res/50304shr/37296data kb, in 30usr/0sys/30real ms.
/tmp/stapcvPpgk/stap_c6a43944f13b4b5f272b09215721beeb_17507_src.c: In function
âprobe_2131â:
/tmp/stapcvPpgk/stap_c6a43944f13b4b5f272b09215721beeb_17507_src.c:1342: error:
â__NR_umount2â undeclared (first use in this function)
/tmp/stapcvPpgk/stap_c6a43944f13b4b5f272b09215721beeb_17507_src.c:1342: error:
(Each undeclared identifier is reported only once
/tmp/stapcvPpgk/stap_c6a43944f13b4b5f272b09215721beeb_17507_src.c:1342: error:
for each function it appears in.)
make[1]: ***
[/tmp/stapcvPpgk/stap_c6a43944f13b4b5f272b09215721beeb_17507_src.o] Error 1
make: *** [_module_/tmp/stapcvPpgk] Error 2
WARNING: kbuild exited with status: 2
Pass 4: compiled C into "stap_c6a43944f13b4b5f272b09215721beeb_17507.ko" in
1475usr/177sys/1631real ms.
Pass 4: compilation failed.  [man error::pass4]
====

This occurs because of the following commit:

====
commit 99edef7bff6462ba4d370d83d335af9adce908ea                                 
Author: David Smith <dsmith@redhat.com>                                         
Date:   Thu Dec 19 13:05:15 2013 -0600                                          

    PR16207 partial fix: Fix the 'mount' [nd_]syscall.exp tests on rawhide.     

    * tapset/linux/syscalls2.stp: Add 'sys_oldumount' support to the            
      syscall.umount probe. Don't allow syscall nesting in syscall.umount.      
    * tapset/linux/nd_syscalls2.stp: Ditto.                                     
====

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