projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sessiond: remove ust-metadata.cpp
[lttng-tools.git]
/
tests
/
utils
/
testapp
/
gen-ust-events-ns
/
tp.h
diff --git
a/tests/utils/testapp/gen-ust-events-ns/tp.h
b/tests/utils/testapp/gen-ust-events-ns/tp.h
index 4dbfed51a7238f5884838b492d31504b6a450e3c..624bb5c073bf92ddea945d03a852e61ff0cd7e64 100644
(file)
--- a/
tests/utils/testapp/gen-ust-events-ns/tp.h
+++ b/
tests/utils/testapp/gen-ust-events-ns/tp.h
@@
-13,17
+13,14
@@
#include <lttng/tracepoint.h>
#include <lttng/tracepoint.h>
-TRACEPOINT_EVENT(tp, tptest,
- TP_ARGS(ino_t, ns_ino),
- TP_FIELDS(
- ctf_integer(ino_t, ns_ino, ns_ino)
- )
-)
+#include <sys/types.h>
+
+TRACEPOINT_EVENT(tp, tptest, TP_ARGS(ino_t, ns_ino), TP_FIELDS(ctf_integer(ino_t, ns_ino, ns_ino)))
#endif /* _TRACEPOINT_TP_H */
#endif /* _TRACEPOINT_TP_H */
-#undef TRACEPOINT_INCLUDE
_FILE
-#define TRACEPOINT_INCLUDE
_FILE ./tp.h
+#undef TRACEPOINT_INCLUDE
+#define TRACEPOINT_INCLUDE
"./tp.h"
/* This part must be outside ifdef protection */
#include <lttng/tracepoint-event.h>
/* This part must be outside ifdef protection */
#include <lttng/tracepoint-event.h>
This page took
0.023431 seconds
and
4
git commands to generate.