From: Pierre-Marc Fournier Date: Mon, 5 Oct 2009 19:54:07 +0000 (-0400) Subject: add fork2 X-Git-Tag: v0.1~104 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e55f3ac9cbde0a19842f003f904f2731d88f2a3c;p=ust.git add fork2 --- diff --git a/tests/fork/Makefile.am b/tests/fork/Makefile.am index 100cd36..4813bf8 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 0000000..7d0dda7 --- /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;