projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lttng: reuse random_access_container_wrapper for session_list
[lttng-tools.git]
/
tests
/
regression
/
ust
/
linking
/
demo.c
diff --git
a/tests/regression/ust/linking/demo.c
b/tests/regression/ust/linking/demo.c
index 74d1d22a601f11ab7840b59e41a54fa69e82fb52..43b0f641c4f4c8713806b55b822aca8768aa005c 100644
(file)
--- a/
tests/regression/ust/linking/demo.c
+++ b/
tests/regression/ust/linking/demo.c
@@
-6,17
+6,17
@@
*
*/
*
*/
-#include <stdio.h>
-#include <unistd.h>
-#include <sys/mman.h>
-#include <stdarg.h>
-#include <sys/types.h>
-#include <sys/stat.h>
+#include <arpa/inet.h>
#include <fcntl.h>
#include <signal.h>
#include <fcntl.h>
#include <signal.h>
-#include <st
rin
g.h>
-#include <
arpa/inet
.h>
+#include <st
dar
g.h>
+#include <
stdio
.h>
#include <stdlib.h>
#include <stdlib.h>
+#include <string.h>
+#include <sys/mman.h>
+#include <sys/stat.h>
+#include <sys/types.h>
+#include <unistd.h>
#define TRACEPOINT_DEFINE
#define TRACEPOINT_DEFINE
@@
-48,8
+48,7
@@
int main(int argc, char **argv)
tracepoint(ust_tests_demo, starting, 123);
for (i = 0; i < 5; i++) {
netint = htonl(i);
tracepoint(ust_tests_demo, starting, 123);
for (i = 0; i < 5; i++) {
netint = htonl(i);
- tracepoint(ust_tests_demo2, loop, i, netint, values,
- text, strlen(text), dbl, flt);
+ tracepoint(ust_tests_demo2, loop, i, netint, values, text, strlen(text), dbl, flt);
}
tracepoint(ust_tests_demo, done, 456);
tracepoint(ust_tests_demo3, done, 42);
}
tracepoint(ust_tests_demo, done, 456);
tracepoint(ust_tests_demo3, done, 42);
This page took
0.023283 seconds
and
4
git commands to generate.