projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update
[lttv.git]
/
markers-userspace
/
testprog.c
diff --git
a/markers-userspace/testprog.c
b/markers-userspace/testprog.c
index 037e1c191f9439ef9c4b00a8043b96f5a7c53d3f..5c3010a88c849fe1abc763447d5270eaa13943b3 100644
(file)
--- a/
markers-userspace/testprog.c
+++ b/
markers-userspace/testprog.c
@@
-1,11
+1,18
@@
#include <stdio.h>
#include <stdio.h>
+#include <unistd.h>
#include "marker.h"
#include "marker.h"
+extern void testfct(void);
+
int main(int argc, char **argv)
{
void *ptr;
unsigned long val;
int main(int argc, char **argv)
{
void *ptr;
unsigned long val;
- trace_mark(test_marker, "ptr %p val %lu", ptr, val);
+ while (1) {
+ trace_mark(test_marker, "ptr %p val %lu", ptr, val);
+ testfct();
+ sleep(2);
+ }
return 0;
}
return 0;
}
This page took
0.026674 seconds
and
4
git commands to generate.