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..5f25e83076ef7529e7da689c4476e2147d3d18d5 100644
(file)
--- a/
markers-userspace/testprog.c
+++ b/
markers-userspace/testprog.c
@@
-1,4
+1,5
@@
#include <stdio.h>
#include <stdio.h>
+#include <unistd.h>
#include "marker.h"
int main(int argc, char **argv)
#include "marker.h"
int main(int argc, char **argv)
@@
-6,6
+7,9
@@
int main(int argc, char **argv)
void *ptr;
unsigned long val;
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);
+ sleep(2);
+ }
return 0;
}
return 0;
}
This page took
0.024482 seconds
and
4
git commands to generate.