diff options
author | David Smith <dsmith@redhat.com> | 2010-03-16 15:47:36 -0500 |
---|---|---|
committer | David Smith <dsmith@redhat.com> | 2010-03-16 15:47:36 -0500 |
commit | d7c88bfad6ef6188fcbd888bd1235486aa31a5e6 (patch) | |
tree | b5057a0953169e94f5441a99b660f856657762a1 /testsuite/buildok | |
parent | 1fe5254260d0c3b6438553cf5f4af645820647fe (diff) | |
download | systemtap-steved-d7c88bfad6ef6188fcbd888bd1235486aa31a5e6.tar.gz systemtap-steved-d7c88bfad6ef6188fcbd888bd1235486aa31a5e6.tar.xz systemtap-steved-d7c88bfad6ef6188fcbd888bd1235486aa31a5e6.zip |
Fixed PR 11372 by removing (most) embedded-C from proc_mem.stp.
* tapset/proc_mem.stp: Tried to remove as much embedded-C as possible.
* tapset/atomic.stp: New file.
* testsuite/buildok/atomic.stp: New file.
* testsuite/systemtap.base/atomic.exp: Ditto.
* testsuite/systemtap.base/atomic_module.c: Ditto.
* testsuite/systemtap.base/atomic_module.makefile: Ditto.
Diffstat (limited to 'testsuite/buildok')
-rwxr-xr-x | testsuite/buildok/atomic.stp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/buildok/atomic.stp b/testsuite/buildok/atomic.stp new file mode 100755 index 00000000..00690453 --- /dev/null +++ b/testsuite/buildok/atomic.stp @@ -0,0 +1,6 @@ +#! stap -p4 + +probe begin { + printf("%d\n", atomic_long_read(0)) + exit() +} |