projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tracepoint API namespacing 'TRACEPOINT_EVENT'
[lttng-ust.git]
/
doc
/
examples
/
demo
/
ust_tests_demo2.h
diff --git
a/doc/examples/demo/ust_tests_demo2.h
b/doc/examples/demo/ust_tests_demo2.h
index 7f3d878dd9ab94125a3fe9b8a97ec9bea00277f9..bdcb63260504b06f20b9a46425630d32a5d031df 100644
(file)
--- a/
doc/examples/demo/ust_tests_demo2.h
+++ b/
doc/examples/demo/ust_tests_demo2.h
@@
-13,11
+13,11
@@
#include <lttng/tracepoint.h>
#include <stddef.h>
#include <lttng/tracepoint.h>
#include <stddef.h>
-TRACEPOINT_EVENT(ust_tests_demo2, loop,
- TP_ARGS(int, anint, int, netint, long *, values,
+
LTTNG_UST_
TRACEPOINT_EVENT(ust_tests_demo2, loop,
+
LTTNG_UST_
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),
- TP_FIELDS(
+
LTTNG_UST_
TP_FIELDS(
ctf_integer(int, intfield, anint)
ctf_integer_hex(int, intfield2, anint)
ctf_integer(long, longfield, anint)
ctf_integer(int, intfield, anint)
ctf_integer_hex(int, intfield2, anint)
ctf_integer(long, longfield, anint)
This page took
0.024132 seconds
and
4
git commands to generate.