diff options
author | Dave Brolley <brolley@redhat.com> | 2009-12-21 12:42:11 -0500 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2009-12-21 12:42:11 -0500 |
commit | 25a0404570724499bcdf1ebfd9f03084c2e00137 (patch) | |
tree | f9824f847b407790ab10116c2ebcc7e664d53253 /testsuite/buildok | |
parent | 08098abb6b206dc3aea984f18b5054d34e015185 (diff) | |
parent | c6fcc4c1ca5f222cf90bf3968e34a10f09b30be4 (diff) | |
download | systemtap-steved-25a0404570724499bcdf1ebfd9f03084c2e00137.tar.gz systemtap-steved-25a0404570724499bcdf1ebfd9f03084c2e00137.tar.xz systemtap-steved-25a0404570724499bcdf1ebfd9f03084c2e00137.zip |
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Diffstat (limited to 'testsuite/buildok')
-rw-r--r-- | testsuite/buildok/vm.tracepoints.stp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testsuite/buildok/vm.tracepoints.stp b/testsuite/buildok/vm.tracepoints.stp new file mode 100644 index 00000000..488ca0fc --- /dev/null +++ b/testsuite/buildok/vm.tracepoints.stp @@ -0,0 +1,31 @@ +#! stap -up4 + +probe vm.kfree { + println(name) + printf("%-15s %-15p %-15s %-15p \n", execname(), call_site, caller_function, ptr) +} + +probe vm.kmalloc { + println(name) + printf("%-15s %-15p %-15s %-15p %-15d %-15d %-15d %-15s \n", execname(), call_site, caller_function, ptr, bytes_req, bytes_alloc, gfp_flags, gfp_flag_name) +} + +probe vm.kmem_cache_alloc { + println(name) + printf("%-15s %-15p %-15s %-15p %-15d %-15d %-15d %-15s \n", execname(), call_site, caller_function, ptr, bytes_req, bytes_alloc, gfp_flags, gfp_flag_name) +} + +probe vm.kmalloc_node { + println(name) + printf("%-15s %-15p %-15s %-15p %-15d %-15d %-15d %-15s \n", execname(), call_site, caller_function, ptr, bytes_req, bytes_alloc, gfp_flags, gfp_flag_name) +} + +probe vm.kmem_cache_alloc_node { + println(name) + printf("%-15s %-15p %-15s %-15p %-15d %-15d %-15d %-15s \n", execname(), call_site, caller_function, ptr, bytes_req, bytes_alloc, gfp_flags, gfp_flag_name) +} + +probe vm.kmem_cache_free { + println(name) + printf("%-15s %-15p %-15s %-15p \n", execname(), call_site, caller_function, ptr) +} |