projects
/
lttng-ust.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
5e1c64ac614c9aab2135f9b814d4fd9ea083126d
[lttng-ust.git]
/
tests
/
test-nevents
/
prog.c
1
#include <string.h>
2
#include <stdlib.h>
3
#include <ust/ust.h>
4
5
#define N_ITER 100000
6
7
int
main
()
8
{
9
int
i
;
10
11
for
(
i
=
0
;
i
<
N_ITER
;
i
++) {
12
trace_mark
(
ust
,
an_event
,
"%d"
,
i
);
13
trace_mark
(
ust
,
another_event
,
"%s"
,
"Hello, World!"
);
14
}
15
16
return
0
;
17
}
This page took
0.031794 seconds
and
4
git commands to generate.