public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "dsmith at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: systemtap@sourceware.org
Subject: [Bug tapsets/13670] New: on 3.3 kernels, 'mnt_parent' has been moved from 'struct vfsmount'
Date: Tue, 07 Feb 2012 16:50:00 -0000	[thread overview]
Message-ID: <bug-13670-6586@http.sourceware.org/bugzilla/> (raw)

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.

             reply	other threads:[~2012-02-07 16:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-07 16:50 dsmith at redhat dot com [this message]
2012-02-08 14:57 ` [Bug tapsets/13670] " dsmith at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-13670-6586@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=systemtap@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).