diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2009-10-08 17:18:51 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2009-10-08 17:22:52 -0400 |
commit | 6987cb4306107994d06b0e653b9eac97388056bc (patch) | |
tree | e2fd08360ecae16f250243e3e4979438e3aafe2c /testsuite/systemtap.examples/general | |
parent | 2e2516781661f5a4b41e4dc79d423250e057f271 (diff) | |
download | systemtap-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/general')
-rw-r--r-- | testsuite/systemtap.examples/general/para-callgraph.meta | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/systemtap.examples/general/para-callgraph.meta b/testsuite/systemtap.examples/general/para-callgraph.meta index 84d1c93f..32f56ef2 100644 --- a/testsuite/systemtap.examples/general/para-callgraph.meta +++ b/testsuite/systemtap.examples/general/para-callgraph.meta @@ -3,5 +3,5 @@ name: para-callgraph.stp keywords: trace callgraph subsystem: general description: Print a timed per-thread callgraph, complete with function parameters and return values. The first parameter names the function probe points to trace. The optional second parameter names the probe points for trigger functions, which acts to enable tracing for only those functions that occur while the current thread is nested within the trigger. -test_check: stap -p4 para-callgraph.stp kernel.function("*@fs/proc*.c") kernel.function("vfs_read") -test_installcheck: stap para-callgraph.stp kernel.function("*@fs/proc*.c") kernel.function("vfs_read") -c "cat /proc/sys/vm/*" +test_check: stap -p4 para-callgraph.stp 'kernel.function("*@fs/proc*.c")' 'kernel.function("vfs_read")' +test_installcheck: stap para-callgraph.stp 'kernel.function("*@fs/proc*.c")' 'kernel.function("vfs_read")' -c "cat /proc/sys/vm/*" |