From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26915 invoked by alias); 7 Feb 2014 19:57:57 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 26733 invoked by uid 48); 7 Feb 2014 19:57:52 -0000 From: "dsmith at redhat dot com" To: systemtap@sourceware.org Subject: [Bug tapsets/16542] New: the rpc tapset has errors Date: Fri, 07 Feb 2014 19:57:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: tapsets X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dsmith at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-q1/txt/msg00087.txt.bz2 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 Date: Mon Aug 26 19:58:45 2013 -0400 SUNRPC: Remove unused struct rpc_clnt field cl_protname Signed-off-by: Trond Myklebust ==== 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.