public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug tapsets/16542] New: the rpc tapset has errors
@ 2014-02-07 19:57 dsmith at redhat dot com
  2014-02-10 18:45 ` [Bug tapsets/16542] " dsmith at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: dsmith at redhat dot com @ 2014-02-07 19:57 UTC (permalink / raw)
  To: systemtap

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

            Bug ID: 16542
           Summary: the rpc tapset has 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

On newer kernels, the rpc tapset has errors:

====
# stap -vp4 -e 'probe sunrpc.clnt.clone_client { print(progname) }'
Pass 1: parsed user script and 100 library script(s) using
210608virt/28092res/2924shr/25664data kb, in 190usr/60sys/240real ms.
semantic error: unable to find member 'cl_protname' for struct rpc_clnt
(alternatives: cl_program, cl_nodename, cl_procinfo, cl_prog, cl_count,
cl_parent, cl_rtt, cl_stats, cl_xprt, cl_auth, cl_chatty, cl_clients, cl_lock,
cl_metrics, cl_nodelen, cl_softrtry, cl_tasks, cl_autobind, cl_clid,
cl_discrtry, cl_maxproc, cl_timeout, cl_vers, cl_noretranstimeo,
cl_rtt_default, cl_pipedir_objects, cl_timeout_default): operator '->' at
/usr/local/share/systemtap/tapset/linux/rpc.stp:292:32
        source:     progname = kernel_string($clnt->cl_protname)
====

The kernel's struct rpc_clnt had the protocol name removed in the following
kernel commit:

====
commit 1dada8e1f94e863a94f6622f0ddb5d1b01420150                                 
Author: Trond Myklebust <Trond.Myklebust@netapp.com>                            
Date:   Mon Aug 26 19:58:45 2013 -0400                                          

    SUNRPC: Remove unused struct rpc_clnt field cl_protname                     

    Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>                 
====

It looks like the protocol name might be present in the $clnt->cl_program->name
field.

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

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

* [Bug tapsets/16542] the rpc tapset has errors
  2014-02-07 19:57 [Bug tapsets/16542] New: the rpc tapset has errors dsmith at redhat dot com
@ 2014-02-10 18:45 ` dsmith at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: dsmith at redhat dot com @ 2014-02-10 18:45 UTC (permalink / raw)
  To: systemtap

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

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 39e21dd.

-- 
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:[~2014-02-10 18:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-07 19:57 [Bug tapsets/16542] New: the rpc tapset has errors dsmith at redhat dot com
2014-02-10 18:45 ` [Bug tapsets/16542] " 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).