projects
/
ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
support busybox for manual trace tests
[ust.git]
/
tests
/
trace_event
/
trace_event_test.c
diff --git
a/tests/trace_event/trace_event_test.c
b/tests/trace_event/trace_event_test.c
index 9ed3d6ce0433486ec5182ec1399c69e6bbd27137..8e87846e1b3696b1c4c03312525213e79997f3a5 100644
(file)
--- a/
tests/trace_event/trace_event_test.c
+++ b/
tests/trace_event/trace_event_test.c
@@
-17,7
+17,7
@@
#include <stdio.h>
#include <ust/clock.h>
#include <stdio.h>
#include <ust/clock.h>
-#define
CREATE_TRACE_POINT
S
+#define
TRACEPOINT_CREATE_PROBE
S
#include "trace_event_test.h"
int main(int argc, char * argv[])
#include "trace_event_test.h"
int main(int argc, char * argv[])
@@
-25,6
+25,7
@@
int main(int argc, char * argv[])
static unsigned long time, i;
for (i=0; i<10; i++) {
time=trace_clock_read64();
static unsigned long time, i;
for (i=0; i<10; i++) {
time=trace_clock_read64();
- trace
_test(
time, i);
+ trace
point(test,
time, i);
}
}
+ return 0;
}
}
This page took
0.023053 seconds
and
4
git commands to generate.