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 b59c9241f3bdc3e9b6dacda2eb364223ef97d169..2306c2da1b8539e3fb1329275dd09138c989d149 100644
(file)
--- a/
tests/regression/ust/high-throughput/main.c
+++ b/
tests/regression/ust/high-throughput/main.c
@@
-6,26
+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"
-
void inthandler(int sig
)
+
static void inthandler(int sig __attribute__((unused))
)
{
}
{
}
-int init_int_handler(void)
+
static
int init_int_handler(void)
{
int result;
struct sigaction act;
{
int result;
struct sigaction act;
@@
-70,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.025261 seconds
and
4
git commands to generate.