From d7c88bfad6ef6188fcbd888bd1235486aa31a5e6 Mon Sep 17 00:00:00 2001 From: David Smith Date: Tue, 16 Mar 2010 15:47:36 -0500 Subject: 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. --- testsuite/buildok/atomic.stp | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 testsuite/buildok/atomic.stp (limited to 'testsuite/buildok') 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() +} -- cgit