summaryrefslogtreecommitdiffstats
path: root/testsuite/buildok
diff options
context:
space:
mode:
authorDavid Smith <dsmith@redhat.com>2010-03-16 15:47:36 -0500
committerDavid Smith <dsmith@redhat.com>2010-03-16 15:47:36 -0500
commitd7c88bfad6ef6188fcbd888bd1235486aa31a5e6 (patch)
treeb5057a0953169e94f5441a99b660f856657762a1 /testsuite/buildok
parent1fe5254260d0c3b6438553cf5f4af645820647fe (diff)
downloadsystemtap-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-xtestsuite/buildok/atomic.stp6
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()
+}