testsuite/systemtap.examples/general/whythefail.meta
raw| 1 | title: Why did the function fail? |
| 2 | name: whythefail.stp |
| 3 | keywords: speculation monitoring function trace _best |
| 4 | description: The whythefail.stp script prints a statement-execution trace for a given function, but only for those runs of the function that ended up with a (configurable) post-return condition. |
| 5 | test_check: stap -p4 whythefail.stp kernel do_sys_open '$return < 0' |
| 6 | test_installcheck: stap whythefail.stp kernel do_sys_open '$return < 0' -c 'cat /root/no-such-file || true' |