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/13670] New: on 3.3 kernels, 'mnt_parent' has been moved from 'struct vfsmount'


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

             Bug #: 13670
           Summary: on 3.3 kernels, 'mnt_parent' has been moved from
                    'struct vfsmount'
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tapsets
        AssignedTo: systemtap@sourceware.org
        ReportedBy: dsmith@redhat.com
    Classification: Unclassified


On rawhide (3.3.0-0.rc2.git0.2.fc17.x86_64), the buildok/dentry-embedded.stp
test fails:

====
# stap -vp4 ../src/testsuite/buildok/dentry-embedded.stp 
Pass 1: parsed user script and 81 library script(s) using
200684virt/22792res/2812shr kb, in 130usr/10sys/152real ms.
semantic error: unable to find member 'mnt_parent' for struct vfsmount
(alternatives: mnt_root mnt_sb mnt_flags): operator '->' at
/usr/local/share/systemtap/tapset/dentry.stp:120:55
        source:                             if (@cast(vfsmnt,
"vfsmount")->mnt_parent == vfsmnt)
                                                                         ^
semantic error: unable to find member 'mnt_mountpoint' for struct vfsmount
(alternatives: mnt_root mnt_sb mnt_flags): operator '->' at :123:60
        source:                             dentry = @cast(vfsmnt,
"vfsmount")->mnt_mountpoint;
                                                                              ^
semantic error: unable to find member 'mnt_parent' for struct vfsmount
(alternatives: mnt_root mnt_sb mnt_flags): operator '->' at :124:60
        source:                             vfsmnt = @cast(vfsmnt,
"vfsmount")->mnt_parent;
                                                                              ^
Pass 2: analyzed script: 1 probe(s), 26 function(s), 1 embed(s), 0 global(s)
using 424700virt/110064res/3784shr kb, in 2110usr/810sys/3204real ms.
Pass 2: analysis failed.  Try again with another '--vp 01' option.
====

This is because of the following kernel commit:

====
commit 3376f34fff5be9954fd9a9c4fd68f4a0a36d480e
Author: Al Viro <viro@zeniv.linux.org.uk>
Date:   Thu Nov 24 22:05:19 2011 -0500

    vfs: mnt_parent moved to struct mount

    the second victim...

    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
====

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]