]> sourceware.org Git - systemtap.git/commit
Fix systemtap.examples/process/syscalltimes script and add test.
authorMark Wielaard <mjw@redhat.com>
Fri, 9 Sep 2011 11:46:45 +0000 (13:46 +0200)
committerMark Wielaard <mjw@redhat.com>
Fri, 9 Sep 2011 11:46:45 +0000 (13:46 +0200)
commitc5dd019eb82b84ecf5c08c9d13b8faf936536720
tree7b2a56d88044429008794ea093b5badee8517d8a
parent2fd2c46ca19c8d995d2376ab8ca1d3e62fb6f43e
Fix systemtap.examples/process/syscalltimes script and add test.

stap was a little too smart for the script, optimizing out unused
variables and producing WARNINGS/ERRORS for deleted variables.
Make all variable manipulation conditional on their actual usage,
add -w to surpress warnings, add a new option -c 'process' to run
during script invocation and add a meta testcase for the testsuite.
testsuite/systemtap.examples/process/syscalltimes
testsuite/systemtap.examples/process/syscalltimes.meta [new file with mode: 0644]
testsuite/systemtap.examples/process/syscalltimes.txt
This page took 0.027601 seconds and 5 git commands to generate.