diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2008-07-04 17:11:29 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2008-07-04 17:11:29 -0400 |
commit | 53f7dd30e87fa480c5d43ce2a1312ce27a4372c9 (patch) | |
tree | 4f1c64048d43c50c11877a66d3f7f918e43a0f7b /testsuite/systemtap.examples/functioncallcount.meta | |
parent | 1b94bf6d310cf41041d0a6c24be85a892d443708 (diff) | |
parent | 422b0781177e0755df5542e1c70e809e6f3cfe89 (diff) | |
download | systemtap-steved-53f7dd30e87fa480c5d43ce2a1312ce27a4372c9.tar.gz systemtap-steved-53f7dd30e87fa480c5d43ce2a1312ce27a4372c9.tar.xz systemtap-steved-53f7dd30e87fa480c5d43ce2a1312ce27a4372c9.zip |
Merge commit 'origin/master' into pr6429-comp-unwindsyms
* commit 'origin/master':
ubuntu (2.6.24-16-server) kernel compatibility fix
client/server take 2. See bz6565.
Add functioncallcount.meta and functioncallcount.stp.
Add para-callgraph.stp and para-callgraph.meta.
Fixed __stp_get_mm_path() error return code.
diagnostics improvement: print arch/mach at top if -vv
Make _vfs.generic_commit_write only for kernel<=2.6.25
Handles "mortally wounded" threads correctly when detaching.
further clarify that elfutils need not be absolutely freshest, nor rebuilt every time
point out releases/ directory; clarify optionality of elfutils bundling
Add auto_free_ref to auto_free stuff; bug 6694
Diffstat (limited to 'testsuite/systemtap.examples/functioncallcount.meta')
-rw-r--r-- | testsuite/systemtap.examples/functioncallcount.meta | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/systemtap.examples/functioncallcount.meta b/testsuite/systemtap.examples/functioncallcount.meta new file mode 100644 index 00000000..4d419528 --- /dev/null +++ b/testsuite/systemtap.examples/functioncallcount.meta @@ -0,0 +1,13 @@ +title: Count Times Functions Called +name: functioncallcount.stp +version: 1.0 +author: anonymous +keywords: profiling functions +subsystem: kernel +status: production +exit: user-controlled +output: sorted-list on-exit +scope: system-wide +description: The functioncallcount.stp script takes one argument, a list of functions to probe. The script will run and count the number of times that each of the functions on the list is called. On exit the script will print a sorted list from most frequently to least frequently called function. +test_check: stap -p4 functioncallcount.stp "*@mm/*.c" +test_installcheck: stap functioncallcount.stp "*@mm/*.c" -c "sleep 1" |