From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4936 invoked by alias); 1 Mar 2012 17:29:39 -0000 Received: (qmail 4927 invoked by uid 22791); 1 Mar 2012 17:29:39 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,SUBJ_OBFU_PUNCT_FEW X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 01 Mar 2012 17:29:24 +0000 From: "dsmith at redhat dot com" To: systemtap@sourceware.org Subject: [Bug tapsets/13793] New: IPv6 nfs_proc.stp tapset changes needed Date: Thu, 01 Mar 2012 17:29: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-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-Changed-Fields: Message-ID: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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 X-SW-Source: 2012-q1/txt/msg00219.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=13793 Bug #: 13793 Summary: IPv6 nfs_proc.stp tapset changes needed Product: systemtap Version: unspecified Status: NEW Severity: normal Priority: P2 Component: tapsets AssignedTo: systemtap@sourceware.org ReportedBy: dsmith@redhat.com Depends on: 13646 Classification: Unclassified The nfs_proc.stp tapset is full of probes that return 'server_ip', a binary IP address of the server. A typical line to generate that value looks like this: server_ip = __i2n_ip_proto($dir,0) That works fine for IPv4. That binary value can be used in comparisons, as an array index, etc. However, the above doesn't work for IPv6. That function (if it supported IPv6) would return the address of a structure that holds the IPv6 address. Those probes should be changed to return a string representation of the IP address, which can be compared properly for both IPv4 and IPv6. (Bug #13646 provided the base tapset IPv6 support.) -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.