diff options
author | dsmith <dsmith> | 2007-09-14 16:53:50 +0000 |
---|---|---|
committer | dsmith <dsmith> | 2007-09-14 16:53:50 +0000 |
commit | 62d05fd6924b86fa27f3d73ce62d978e51eb09ed (patch) | |
tree | abce69f5d823e950b5ef5ee8178b2f7a90b9a72a /testsuite/buildok | |
parent | cf8dc3c7fc65aa91a5a94906682af3acc9dca98b (diff) | |
download | systemtap-steved-62d05fd6924b86fa27f3d73ce62d978e51eb09ed.tar.gz systemtap-steved-62d05fd6924b86fa27f3d73ce62d978e51eb09ed.tar.xz systemtap-steved-62d05fd6924b86fa27f3d73ce62d978e51eb09ed.zip |
2007-09-14 David Smith <dsmith@redhat.com>
PR 1154
* buildok/procfs01.stp: New test case.
* semko/procfs01.stp: Ditto.
* semko/procfs02.stp: Ditto.
* semko/procfs03.stp: Ditto.
* semko/procfs04.stp: Ditto.
* semko/procfs05.stp: Ditto.
Diffstat (limited to 'testsuite/buildok')
-rwxr-xr-x | testsuite/buildok/procfs01.stp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/buildok/procfs01.stp b/testsuite/buildok/procfs01.stp new file mode 100755 index 00000000..2162aef9 --- /dev/null +++ b/testsuite/buildok/procfs01.stp @@ -0,0 +1,12 @@ +#! stap -p4 + +global foo_value = "100\n" + +probe procfs("foo").read { + $value = foo_value +} + +probe procfs("foo").write { + foo_value = $value + printf("value is %s", foo_value) +} |