This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug tapsets/16542] New: the rpc tapset has errors
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Fri, 07 Feb 2014 19:57:51 +0000
- Subject: [Bug tapsets/16542] New: the rpc tapset has errors
- Auto-submitted: auto-generated
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.