From e55f3ac9cbde0a19842f003f904f2731d88f2a3c Mon Sep 17 00:00:00 2001 From: Pierre-Marc Fournier Date: Mon, 5 Oct 2009 15:54:07 -0400 Subject: [PATCH] add fork2 --- tests/fork/Makefile.am | 4 +++- tests/fork/fork2.c | 15 +++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 tests/fork/fork2.c diff --git a/tests/fork/Makefile.am b/tests/fork/Makefile.am index 100cd367..4813bf8c 100644 --- a/tests/fork/Makefile.am +++ b/tests/fork/Makefile.am @@ -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 index 00000000..7d0dda7d --- /dev/null +++ b/tests/fork/fork2.c @@ -0,0 +1,15 @@ +#include +#include + +#include "marker.h" + +int main() +{ + printf("IN FORK2\n"); + + trace_mark(ust, after_exec, MARK_NOARGS); + + return 0; +} + +MARKER_LIB; -- 2.34.1