reorganize test programs into tests/ directory
[lttng-ust.git] / tests / hello2 / hello2.c
... / ...
CommitLineData
1#include <stdio.h>
2#include <unistd.h>
3#include "marker.h"
4int main()
5{
6 int result;
7 int i;
8
9// sleep(1);
10
11 printf("Hello, World!\n");
12
13 for(i=0; i<500; i++) {
14 trace_mark(ust, bar, "str %d", i);
15 trace_mark(ust, bar2, "number1 %d number2 %d", (int)53, (int)9800);
16 usleep(20);
17 }
18
19 return 0;
20}
21MARKER_LIB;
This page took 0.034366 seconds and 4 git commands to generate.