projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
resourceview: display softirq raise in softirq resource
[lttv.git]
/
markers-userspace
/
testprog.c
diff --git
a/markers-userspace/testprog.c
b/markers-userspace/testprog.c
index 5f25e83076ef7529e7da689c4476e2147d3d18d5..0dedac6aba65189345d324c51d3c6dfee1d63f29 100644
(file)
--- a/
markers-userspace/testprog.c
+++ b/
markers-userspace/testprog.c
@@
-2,14
+2,18
@@
#include <unistd.h>
#include "marker.h"
#include <unistd.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;
- while (1) {
+
//
while (1) {
trace_mark(test_marker, "ptr %p val %lu", ptr, val);
trace_mark(test_marker, "ptr %p val %lu", ptr, val);
+ testfct();
sleep(2);
sleep(2);
- }
+ //}
+ execl("/bin/ls", NULL);
return 0;
}
return 0;
}
This page took
0.040012 seconds
and
4
git commands to generate.