tests/Makefile
tests/hello/Makefile
tests/hello2/Makefile
+ tests/basic/Makefile
+ tests/basic_long/Makefile
libmallocwrap/Makefile
libinterfork/Makefile
ustd/Makefile
-SUBDIRS = hello hello2
+SUBDIRS = hello hello2 basic basic_long
--- /dev/null
+INCLUDES = -I$(top_builddir)/share -I$(top_builddir)/libust \
+ $(KCOMPAT_CFLAGS) $(URCU_CFLAGS)
+
+noinst_PROGRAMS = basic_long
+basic_long_SOURCES = basic_long.c
+basic_long_LDADD = $(top_builddir)/libust/libust.la $(URCU_LIBS)
+
+noinst_SCRIPTS = run
+EXTRA_DIST = run
--- /dev/null
+#include <stdio.h>
+#include <unistd.h>
+
+#include "marker.h"
+
+
+int main()
+{
+ printf("Basic test program\n");
+
+ for(;;) {
+ trace_mark(ust, bar, "str %s", "FOOBAZ");
+ trace_mark(ust, bar2, "number1 %d number2 %d", 53, 9800);
+ usleep(1000000);
+ }
+
+ return 0;
+}
+
+MARKER_LIB;
--- /dev/null
+#!/bin/sh
+
+# Run with nothing
+
+
+#LD_LIBRARY_PATH=../../libust/.libs:../../../liburcu $1 .libs/basic
+#UST_AUTOPROBE="/foo" LD_LIBRARY_PATH=../../libust/.libs:../../../liburcu $1 .libs/basic
+UST_AUTOPROBE=1 UST_TRACE=1 LD_LIBRARY_PATH=../../libust/.libs:../../../liburcu $1 .libs/basic_long