projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: lttng-elf: add missing include for uint64_t
[lttng-tools.git]
/
tests
/
regression
/
ust
/
high-throughput
/
main.c
diff --git
a/tests/regression/ust/high-throughput/main.c
b/tests/regression/ust/high-throughput/main.c
index 092d8015fc20a3384766bc43b0a2686510cd24ab..2306c2da1b8539e3fb1329275dd09138c989d149 100644
(file)
--- a/
tests/regression/ust/high-throughput/main.c
+++ b/
tests/regression/ust/high-throughput/main.c
@@
-6,28
+6,26
@@
*
*/
*
*/
-#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
#include "tp.h"
#define TRACEPOINT_DEFINE
#include "tp.h"
-static
-void inthandler(int sig)
+static void inthandler(int sig __attribute__((unused)))
{
}
{
}
-static
-int init_int_handler(void)
+static int init_int_handler(void)
{
int result;
struct sigaction act;
{
int result;
struct sigaction act;
@@
-72,8
+70,7
@@
int main(int argc, char **argv)
for (i = 0; i < 1000000; i++) {
netint = htonl(i);
for (i = 0; i < 1000000; i++) {
netint = htonl(i);
- tracepoint(tp, tptest, i, netint, values, text,
- strlen(text), dbl, flt);
+ tracepoint(tp, tptest, i, netint, values, text, strlen(text), dbl, flt);
}
return 0;
}
return 0;
This page took
0.023943 seconds
and
4
git commands to generate.