This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug testsuite/13132] New: buildok/pr10678.stp fails if system doesn't have ne2k-pci module
- From: "phan at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Thu, 25 Aug 2011 04:59:03 +0000
- Subject: [Bug testsuite/13132] New: buildok/pr10678.stp fails if system doesn't have ne2k-pci module
- Auto-submitted: auto-generated
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.