summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.examples/memory/mmanonpage.meta
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2009-10-08 17:18:51 -0400
committerFrank Ch. Eigler <fche@elastic.org>2009-10-08 17:22:52 -0400
commit6987cb4306107994d06b0e653b9eac97388056bc (patch)
treee2fd08360ecae16f250243e3e4979438e3aafe2c /testsuite/systemtap.examples/memory/mmanonpage.meta
parent2e2516781661f5a4b41e4dc79d423250e057f271 (diff)
downloadsystemtap-steved-6987cb4306107994d06b0e653b9eac97388056bc.tar.gz
systemtap-steved-6987cb4306107994d06b0e653b9eac97388056bc.tar.xz
systemtap-steved-6987cb4306107994d06b0e653b9eac97388056bc.zip
testsuite: robustify check_* invocation of examples meta
testsuite/systemtap.examples/ * check.exp (extract_tag): Log extracted tags. Tolerate embedded '$'. (run_command): Pass through commands to sh -c without eval quoting. * README: Document "sh -c"-ness of check_* tags. * *.meta: Fix quoting, add a few check_support predicates.
Diffstat (limited to 'testsuite/systemtap.examples/memory/mmanonpage.meta')
-rw-r--r--testsuite/systemtap.examples/memory/mmanonpage.meta2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/systemtap.examples/memory/mmanonpage.meta b/testsuite/systemtap.examples/memory/mmanonpage.meta
index eb2e9f57..96ddd3a3 100644
--- a/testsuite/systemtap.examples/memory/mmanonpage.meta
+++ b/testsuite/systemtap.examples/memory/mmanonpage.meta
@@ -9,6 +9,6 @@ exit: user-controlled
output: sorted-list
scope: system-wide
description: The mmanonpage.stp script uses the virtual memory tracepoints available in some kernels to track the number of faults, user space frees, page ins, copy on writes and unmaps for anonymous pages. When the script is terminated the counts are printed for each process that allocated pages while the script was running. This script displays the anonymous page statistics for each process that ran while the script is active. Its useful in debugging leaks in the anonymous regions of a process.
-test_support: stap -l kernel.trace("mm_page_allocation"),kernel.trace("mm_page_free"),kernel.trace("mm_anon_fault"),kernel.trace("mm_anon_pgin"),kernel.trace("mm_anon_cow"),kernel.trace("mm_anon_unmap"),kernel.trace("mm_anon_userfree")
+test_support: stap -l 'kernel.trace("mm_page_allocation"),kernel.trace("mm_page_free"),kernel.trace("mm_anon_fault"),kernel.trace("mm_anon_pgin"),kernel.trace("mm_anon_cow"),kernel.trace("mm_anon_unmap"),kernel.trace("mm_anon_userfree")'
test_check: stap -p4 mmanonpage.stp
test_installcheck: stap mmanonpage.stp -c "sleep 0.2"