projects
/
lttv.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
update compat
[lttv.git]
/
trunk
/
markers-userspace
/
testprog.c
1
#include <stdio.h>
2
#include <unistd.h>
3
#include
"marker.h"
4
5
extern
void
testfct
(
void
);
6
7
int
main
(
int
argc
,
char
**
argv
)
8
{
9
void
*
ptr
;
10
unsigned long
val
;
11
12
while
(
1
) {
13
trace_mark
(
test_marker
,
"ptr %p val %lu"
,
ptr
,
val
);
14
testfct
();
15
sleep
(
2
);
16
}
17
execl
(
"/bin/ls"
,
NULL
);
18
return
0
;
19
}
This page took
0.034961 seconds
and
4
git commands to generate.