projects
/
lttng-ust.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
fix bug in PAGE_MASK
[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
i
;
7
8
// sleep(1);
9
10
printf
(
"Hello, World!
\n
"
);
11
12
for
(
i
=
0
;
i
<
500
;
i
++) {
13
trace_mark
(
ust
,
bar
,
"str %d"
,
i
);
14
trace_mark
(
ust
,
bar2
,
"number1 %d number2 %d"
, (
int
)
53
, (
int
)
9800
);
15
usleep
(
20
);
16
}
17
18
return
0
;
19
}
20
MARKER_LIB
;
This page took
0.036069 seconds
and
4
git commands to generate.