projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test "hello": add boolean test
[lttng-ust.git]
/
tests
/
hello
/
ust_tests_hello.h
diff --git
a/tests/hello/ust_tests_hello.h
b/tests/hello/ust_tests_hello.h
index 8a4063f60b929ffbc0a3e0f613f4b95afd36a9d2..b06dea00138dc5b62619814741c56b85d3b9890e 100644
(file)
--- a/
tests/hello/ust_tests_hello.h
+++ b/
tests/hello/ust_tests_hello.h
@@
-23,11
+23,13
@@
extern "C" {
*/
#include <lttng/tracepoint.h>
*/
#include <lttng/tracepoint.h>
+#include <stdbool.h>
TRACEPOINT_EVENT(ust_tests_hello, tptest,
TP_ARGS(int, anint, int, netint, long *, values,
TRACEPOINT_EVENT(ust_tests_hello, tptest,
TP_ARGS(int, anint, int, netint, long *, values,
- char *, text, size_t, textlen,
- double, doublearg, float, floatarg),
+ char *, text, size_t, textlen,
+ double, doublearg, float, floatarg,
+ bool, boolarg),
TP_FIELDS(
ctf_integer(int, intfield, anint)
ctf_integer_hex(int, intfield2, anint)
TP_FIELDS(
ctf_integer(int, intfield, anint)
ctf_integer_hex(int, intfield2, anint)
@@
-43,6
+45,7
@@
TRACEPOINT_EVENT(ust_tests_hello, tptest,
ctf_string(stringfield, text)
ctf_float(float, floatfield, floatarg)
ctf_float(double, doublefield, doublearg)
ctf_string(stringfield, text)
ctf_float(float, floatfield, floatarg)
ctf_float(double, doublefield, doublearg)
+ ctf_integer(bool, boolfield, boolarg)
)
)
)
)
This page took
0.023617 seconds
and
4
git commands to generate.