diff options
author | William Cohen <wcohen@redhat.com> | 2009-02-09 10:12:00 -0500 |
---|---|---|
committer | William Cohen <wcohen@redhat.com> | 2009-02-09 10:12:00 -0500 |
commit | 22f971e83eddada009053d964a397550807b9b50 (patch) | |
tree | f27694ca529f2cc1ed2862dcfbb4c49f9e284c6e /testsuite/systemtap.examples/memory/kmalloc-top.meta | |
parent | de0db58a72f197e4dff867f9040bfff982035b6f (diff) | |
download | systemtap-steved-22f971e83eddada009053d964a397550807b9b50.tar.gz systemtap-steved-22f971e83eddada009053d964a397550807b9b50.tar.xz systemtap-steved-22f971e83eddada009053d964a397550807b9b50.zip |
Revised version of kmalloc-top in systemtap.examples.
Diffstat (limited to 'testsuite/systemtap.examples/memory/kmalloc-top.meta')
-rw-r--r-- | testsuite/systemtap.examples/memory/kmalloc-top.meta | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/systemtap.examples/memory/kmalloc-top.meta b/testsuite/systemtap.examples/memory/kmalloc-top.meta new file mode 100644 index 00000000..2dfbf898 --- /dev/null +++ b/testsuite/systemtap.examples/memory/kmalloc-top.meta @@ -0,0 +1,13 @@ +title: Show Paths to Kernel Malloc (kmalloc) Invocations +name: kmalloc-top +version: 1.0 +author: anonymous +keywords: memory +subsystem: memory +status: production +exit: user-controlled +output: sorted-list +scope: system-wide +description: The kmalloc-top perl program runs a small systemtap script to collect stack traces for each call to the kmalloc function and counts the time that each stack trace is observed. When kmalloc-top exits it prints out sorted list. The output can be be filtered to print only only the first stack traces (-t) stack traces with more a minimum counts (-m), or exclude certain stack traces (-e). +test_check: kmalloc-top -o "-p4" -c "sleep 0" +test_installcheck: kmalloc-top -c "sleep 1" |