add missing tests/basic and tests/fork
[ust.git] / tests / basic / basic.c
diff --git a/tests/basic/basic.c b/tests/basic/basic.c
new file mode 100644 (file)
index 0000000..a5ceff3
--- /dev/null
@@ -0,0 +1,22 @@
+#include <stdio.h>
+#include <unistd.h>
+
+#include "marker.h"
+
+
+int main()
+{
+       int i;
+
+       printf("Basic test program\n");
+
+       for(i=0; i<50; i++) {
+               trace_mark(ust, bar, "str %s", "FOOBAZ");
+               trace_mark(ust, bar2, "number1 %d number2 %d", 53, 9800);
+               usleep(100000);
+       }
+
+       return 0;
+}
+
+MARKER_LIB;
This page took 0.022647 seconds and 4 git commands to generate.