diff options
Diffstat (limited to 'testsuite/systemtap.samples/args.stp')
-rw-r--r-- | testsuite/systemtap.samples/args.stp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/systemtap.samples/args.stp b/testsuite/systemtap.samples/args.stp new file mode 100644 index 00000000..85e731ac --- /dev/null +++ b/testsuite/systemtap.samples/args.stp @@ -0,0 +1,9 @@ +#! stap + +global foo, bar + +probe begin { + log ("foo=" . foo . " bar=" . sprint (bar+0 /* cast bar to integer */)) + exit () +} + |