diff options
author | Mark Wielaard <mjw@redhat.com> | 2010-03-01 12:42:59 +0100 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2010-03-03 12:43:31 +0100 |
commit | 8822ed7f38927e45168f2ee5375ee844de3d1900 (patch) | |
tree | 6216116e533c7a037bcf51fce7bbe55434731c53 /testsuite | |
parent | b36411e750e154eede9019e97844731927141a9e (diff) | |
download | systemtap-steved-8822ed7f38927e45168f2ee5375ee844de3d1900.tar.gz systemtap-steved-8822ed7f38927e45168f2ee5375ee844de3d1900.tar.xz systemtap-steved-8822ed7f38927e45168f2ee5375ee844de3d1900.zip |
Add documentation and tests for proc_mem_*_pid functions.
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/buildok/proc_mem.stp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/buildok/proc_mem.stp b/testsuite/buildok/proc_mem.stp index 8fc2512a..9cd297ba 100755 --- a/testsuite/buildok/proc_mem.stp +++ b/testsuite/buildok/proc_mem.stp @@ -11,3 +11,12 @@ probe begin { printf("%s\n", pages_to_string(0)); printf("%s\n", proc_mem_string()); } + +probe end { + printf("%d\n", proc_mem_size_pid(0)); + printf("%d\n", proc_mem_rss_pid(0)); + printf("%d\n", proc_mem_shr_pid(0)); + printf("%d\n", proc_mem_txt_pid(0)); + printf("%d\n", proc_mem_data_pid(0)); + printf("%s\n", proc_mem_string_pid(0)); +}
\ No newline at end of file |