diff options
author | Dave Brolley <brolley@redhat.com> | 2009-05-04 16:06:14 -0400 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2009-05-04 16:06:14 -0400 |
commit | fac37258fd3c7710407203b206963c7bff57075d (patch) | |
tree | f0b053d28c4c9593f872b3004c99729ffb27e18c /testsuite/systemtap.syscall/swap.c | |
parent | 2035bcd40b17832439df0a1eb28403b99a71b74f (diff) | |
parent | 97d1fa6e24d8d4e8ceefc62f0d4a7f93a18e4125 (diff) | |
download | systemtap-steved-fac37258fd3c7710407203b206963c7bff57075d.tar.gz systemtap-steved-fac37258fd3c7710407203b206963c7bff57075d.tar.xz systemtap-steved-fac37258fd3c7710407203b206963c7bff57075d.zip |
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Diffstat (limited to 'testsuite/systemtap.syscall/swap.c')
-rw-r--r--[-rwxr-xr-x] | testsuite/systemtap.syscall/swap.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/testsuite/systemtap.syscall/swap.c b/testsuite/systemtap.syscall/swap.c index 3708a477..8fcf9946 100755..100644 --- a/testsuite/systemtap.syscall/swap.c +++ b/testsuite/systemtap.syscall/swap.c @@ -6,22 +6,22 @@ int main() { swapon("foobar_swap", 0); - // swapon ("foobar_swap", 0) = + //staptest// swapon ("foobar_swap", 0) = swapon("foobar_swap", ((1 << SWAP_FLAG_PRIO_SHIFT) & SWAP_FLAG_PRIO_MASK) | SWAP_FLAG_PREFER); - // swapon ("foobar_swap", 32769) = + //staptest// swapon ("foobar_swap", 32769) = swapon("foobar_swap", ((7 << SWAP_FLAG_PRIO_SHIFT) & SWAP_FLAG_PRIO_MASK) | SWAP_FLAG_PREFER); - // swapon ("foobar_swap", 32775) = + //staptest// swapon ("foobar_swap", 32775) = swapon(0, 0); - // swapon (NULL, 0) = + //staptest// swapon (NULL, 0) = swapoff("foobar_swap"); - // swapoff ("foobar_swap") = + //staptest// swapoff ("foobar_swap") = swapoff(0); - // swapoff (NULL) = + //staptest// swapoff (NULL) = return 0; } |