[Bug testsuite/13132] New: buildok/pr10678.stp fails if system doesn't have ne2k-pci module

phan at redhat dot com sourceware-bugzilla@sourceware.org
Thu Aug 25 04:59:00 GMT 2011


http://sourceware.org/bugzilla/show_bug.cgi?id=13132

             Bug #: 13132
           Summary: buildok/pr10678.stp fails if system doesn't have
                    ne2k-pci module
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: testsuite
        AssignedTo: systemtap@sourceware.org
        ReportedBy: phan@redhat.com
    Classification: Unclassified


On a system which doesn't have ne2k-pci.ko, the test case will fail:

semantic error: no match while resolving probe point
module("ne2k_pci").function("ne2k_pci_open")
Pass 2: analysis failed.  Try again with another '--vp 01' option.

So, I think we should change it to something like this:

#!/usr/bin/stap -p4

# The ne2k_pci module dwarf refers to both kernel and 8390 module symbols
%( CONFIG_NE2K_PCI == "m" %?
probe module("ne2k_pci").function("ne2k_pci_open") { log($$parms); }
%:
probe begin { log("No ne2k-pci module, this test skipped.");exit(); }
%)

-- 
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