public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug tapsets/15543] New: the sunrpc.clnt.clone_client probe alias is broken
@ 2013-05-28 16:39 dsmith at redhat dot com
  2013-05-28 21:45 ` [Bug tapsets/15543] " dsmith at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: dsmith at redhat dot com @ 2013-05-28 16:39 UTC (permalink / raw)
  To: systemtap

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

            Bug ID: 15543
           Summary: the sunrpc.clnt.clone_client probe alias is broken
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tapsets
          Assignee: systemtap at sourceware dot org
          Reporter: dsmith at redhat dot com

On rhel7 or newer kernels, the 'servername' convenience variable of the
sunrpc.clnt.clone_client probe alias is broken:

====
stap -ve 'probe sunrpc.clnt.clone_client { printf("servername: %s\n",
servername) }'
Pass 1: parsed user script and 97 library script(s) using
211336virt/27272res/3052shr/24560data kb, in 170usr/30sys/189real ms.
semantic error: unable to find member 'cl_server' for struct rpc_clnt
(alternatives: cl_count cl_clients cl_tasks cl_lock cl_xprt cl_procinfo cl_prog
cl_vers cl_maxproc cl_protname cl_auth cl_stats cl_metrics cl_softrtry
cl_discrtry cl_autobind cl_chatty cl_rtt cl_timeout cl_nodelen cl_nodename
cl_dentry cl_parent cl_rtt_default cl_timeout_default cl_program cl_principal):
operator '->' at /usr/share/systemtap/tapset/linux/rpc.stp:279:34
        source:     servername = kernel_string($clnt->cl_server)
                                                    ^

Pass 2: analyzed script: 3 probe(s), 3 function(s), 4 embed(s), 1 global(s)
using 469156virt/145264res/4532shr/141132data kb, in 3630usr/940sys/5086real
ms.
Pass 2: analysis failed.  [man error::pass2]
====

This was caused by the following kernel change:

====
commit 4e0038b6b246e4145fc4a53dca61a556d17bc52c
Author: Trond Myklebust <Trond.Myklebust@netapp.com>
Date:   Thu Mar 1 17:01:05 2012 -0500

    SUNRPC: Move clnt->cl_server into struct rpc_xprt

    When the cl_xprt field is updated, the cl_server field will also have
    to change.  Since the contents of cl_server follow the remote endpoint
    of cl_xprt, just move that field to the rpc_xprt.

    Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
    [ cel: simplify check_gss_callback_principal(), whitespace changes ]
    [ cel: forward ported to 3.4 ]
    Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
    Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
====

The rpc.stp tapset needs to be updated to handle this kernel change.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug tapsets/15543] the sunrpc.clnt.clone_client probe alias is broken
  2013-05-28 16:39 [Bug tapsets/15543] New: the sunrpc.clnt.clone_client probe alias is broken dsmith at redhat dot com
@ 2013-05-28 21:45 ` dsmith at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: dsmith at redhat dot com @ 2013-05-28 21:45 UTC (permalink / raw)
  To: systemtap

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

David Smith <dsmith at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from David Smith <dsmith at redhat dot com> ---
Fixed in commit 725917a.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-28 21:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-28 16:39 [Bug tapsets/15543] New: the sunrpc.clnt.clone_client probe alias is broken dsmith at redhat dot com
2013-05-28 21:45 ` [Bug tapsets/15543] " dsmith at redhat dot com

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).