projects
/
lttv.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
add SH usertrace
[lttv.git]
/
attic
/
usertrace-fast
/
sample-instrument-fct.c
1
2
3
#include <stdio.h>
4
#include <unistd.h>
5
6
#define LTT_TRACE
7
#define LTT_BLOCKING 1
8
#include <ltt/ltt-facility-user_generic.h>
9
10
11
void
test_function
(
void
)
12
{
13
printf
(
"we are in a test function
\n
"
);
14
}
15
16
17
int
main
(
int
argc
,
char
**
argv
)
18
{
19
while
(
1
) {
20
test_function
();
21
sleep
(
1
);
22
}
23
24
return
0
;
25
}
26
This page took
0.02874 seconds
and
4
git commands to generate.