summaryrefslogtreecommitdiffstats
path: root/testsuite/buildok
diff options
context:
space:
mode:
authorWenji Huang <wenji.huang@oracle.com>2009-12-07 16:47:32 +0800
committerWenji Huang <wenji.huang@oracle.com>2009-12-07 16:47:32 +0800
commit6da1ad4654842c7a2489e18b9acc94f2f68a6b24 (patch)
treea11c98746dedb4f2a21c3de4d3007eca683c8bcd /testsuite/buildok
parentdb41ebdabef8a7964ed92054ee7346cfded7179c (diff)
downloadsystemtap-steved-6da1ad4654842c7a2489e18b9acc94f2f68a6b24.tar.gz
systemtap-steved-6da1ad4654842c7a2489e18b9acc94f2f68a6b24.tar.xz
systemtap-steved-6da1ad4654842c7a2489e18b9acc94f2f68a6b24.zip
Fix regression introduced by commit 379c585
Diffstat (limited to 'testsuite/buildok')
-rwxr-xr-xtestsuite/buildok/tcpmib-all-probes.stp7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/buildok/tcpmib-all-probes.stp b/testsuite/buildok/tcpmib-all-probes.stp
index 8d1105e1..5b44a99a 100755
--- a/testsuite/buildok/tcpmib-all-probes.stp
+++ b/testsuite/buildok/tcpmib-all-probes.stp
@@ -4,6 +4,13 @@
probe tcpmib.* {}
+// This function is just for test, the real one is
+// in tcpipstat.stp
+function tcpmib_filter_key:long (sk:long, op:long) {
+ if (!sk) return 0
+ return op
+}
+
probe begin{
print(tcpmib_get_state(0) +
tcpmib_local_addr(0) +