projects
/
lttng-ust.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
reorganize test programs into tests/ directory
[lttng-ust.git]
/
tests
/
hello2
/
hello2.c
1
#include <stdio.h>
2
#include <unistd.h>
3
#include
"marker.h"
4
int
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
}
21
MARKER_LIB
;
This page took
0.029611 seconds
and
4
git commands to generate.