diff options
author | Tim Moore <timoore@redhat.com> | 2009-12-07 12:47:32 +0100 |
---|---|---|
committer | Tim Moore <timoore@redhat.com> | 2009-12-07 12:47:32 +0100 |
commit | 9156a0f81ec0316b11a7f5ad4db2bd92083e1614 (patch) | |
tree | 633ebd7990b6c9c51ae5caf376695c173e972cfa /testsuite/buildok | |
parent | 5891de489db0e172162279247fb633a719fa3756 (diff) | |
parent | 6da1ad4654842c7a2489e18b9acc94f2f68a6b24 (diff) | |
download | systemtap-steved-9156a0f81ec0316b11a7f5ad4db2bd92083e1614.tar.gz systemtap-steved-9156a0f81ec0316b11a7f5ad4db2bd92083e1614.tar.xz systemtap-steved-9156a0f81ec0316b11a7f5ad4db2bd92083e1614.zip |
Merge branch 'master' of ssh://sourceware.org/git/systemtap
Diffstat (limited to 'testsuite/buildok')
-rwxr-xr-x | testsuite/buildok/tcpmib-all-probes.stp | 7 |
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) + |