[Bug tapsets/13793] New: IPv6 nfs_proc.stp tapset changes needed

dsmith at redhat dot com sourceware-bugzilla@sourceware.org
Thu Mar 1 17:29:00 GMT 2012


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.



More information about the Systemtap mailing list