projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename C++ header files to .hpp
[lttng-tools.git]
/
tests
/
utils
/
testapp
/
gen-ust-events-ns
/
gen-ust-events-ns.cpp
diff --git
a/tests/utils/testapp/gen-ust-events-ns/gen-ust-events-ns.cpp
b/tests/utils/testapp/gen-ust-events-ns/gen-ust-events-ns.cpp
index c916a961611c3d1f7aeae903c7f46190432f552c..ba506b1131b57eeb1e2f8313e16dc90546ba5d60 100644
(file)
--- a/
tests/utils/testapp/gen-ust-events-ns/gen-ust-events-ns.cpp
+++ b/
tests/utils/testapp/gen-ust-events-ns/gen-ust-events-ns.cpp
@@
-17,11
+17,12
@@
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
+#include <inttypes.h>
-#include <common/compat/tid.h>
-#include <common/macros.h>
+#include <common/compat/tid.h
pp
>
+#include <common/macros.h
pp
>
-#include "signal-helper.h"
+#include "signal-helper.h
pp
"
#include "utils.h"
#define TRACEPOINT_DEFINE
#include "utils.h"
#define TRACEPOINT_DEFINE
@@
-133,7
+134,7
@@
static int do_the_needful(int ns_flag, const char *ns_str)
ret = -1;
goto end;
}
ret = -1;
goto end;
}
- debug_printf("Initial %s ns inode number: %
lu\n", ns_str,
ns1);
+ debug_printf("Initial %s ns inode number: %
" PRIuMAX "\n", ns_str, (uintmax_t)
ns1);
for (i = 0; nr_iter < 0 || i < nr_iter; i++) {
tracepoint(tp, tptest, ns1);
for (i = 0; nr_iter < 0 || i < nr_iter; i++) {
tracepoint(tp, tptest, ns1);
@@
-155,7
+156,7
@@
static int do_the_needful(int ns_flag, const char *ns_str)
ret = -1;
goto end;
}
ret = -1;
goto end;
}
- debug_printf("Post unshare %s ns inode number: %
lu\n", ns_str,
ns2);
+ debug_printf("Post unshare %s ns inode number: %
" PRIuMAX "\n", ns_str, (uintmax_t)
ns2);
/*
* Signal that we emited the first event group and that the
/*
* Signal that we emited the first event group and that the
This page took
0.029021 seconds
and
4
git commands to generate.