add fork2
authorPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Mon, 5 Oct 2009 19:54:07 +0000 (15:54 -0400)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Mon, 5 Oct 2009 19:54:07 +0000 (15:54 -0400)
tests/fork/Makefile.am
tests/fork/fork2.c [new file with mode: 0644]

index 100cd367deb32e7129a4653c3fdfacc1312263a2..4813bf8c9ab3376cdde9dfa2e7b2516191e509ca 100644 (file)
@@ -1,9 +1,11 @@
 INCLUDES = -I$(top_builddir)/share -I$(top_builddir)/libust \
        $(KCOMPAT_CFLAGS) $(URCU_CFLAGS)
 
-noinst_PROGRAMS = fork
+noinst_PROGRAMS = fork fork2
 fork_SOURCES = fork.c
 fork_LDADD = $(top_builddir)/libust/libust.la $(URCU_LIBS)
+fork2_SOURCES = fork2.c
+fork2_LDADD = $(top_builddir)/libust/libust.la $(URCU_LIBS)
 
 noinst_SCRIPTS = run
 EXTRA_DIST = run
diff --git a/tests/fork/fork2.c b/tests/fork/fork2.c
new file mode 100644 (file)
index 0000000..7d0dda7
--- /dev/null
@@ -0,0 +1,15 @@
+#include <stdio.h>
+#include <unistd.h>
+
+#include "marker.h"
+
+int main()
+{
+       printf("IN FORK2\n");
+
+       trace_mark(ust, after_exec, MARK_NOARGS);
+
+       return 0;
+}
+
+MARKER_LIB;
This page took 0.024344 seconds and 4 git commands to generate.