diff options
Diffstat (limited to 'testsuite/buildok/one.stp')
-rwxr-xr-x | testsuite/buildok/one.stp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/buildok/one.stp b/testsuite/buildok/one.stp new file mode 100755 index 00000000..1f4f8f9b --- /dev/null +++ b/testsuite/buildok/one.stp @@ -0,0 +1,16 @@ +#! stap -p4 + +global foo, bar + +probe begin +{ + x = 10 + foo["hello"] = 25 + foo["hello"]++ + ++foo["hello"] + x = foo["hello"] + foo["yo"] *= bar[x, foo["hello"], "goodbye"]++; + printk("hello from systemtap") +} + + |