projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pre-assign fixed loglevels
[lttng-ust.git]
/
tests
/
demo
/
ust_tests_demo2.h
diff --git
a/tests/demo/ust_tests_demo2.h
b/tests/demo/ust_tests_demo2.h
index 3cadfa8c281ee868218c1cc829ff208f4ce52413..a763e028be02d130f6269cf28b32c5ec2cd0fabb 100644
(file)
--- a/
tests/demo/ust_tests_demo2.h
+++ b/
tests/demo/ust_tests_demo2.h
@@
-23,12
+23,6
@@
extern "C" {
#include <lttng/tracepoint.h>
#include <lttng/tracepoint.h>
-TRACEPOINT_LOGLEVEL_ENUM(
- tp_loglevel(other, 0)
- tp_loglevel(other2, 1)
- tp_loglevel(other3, 2)
-)
-
TRACEPOINT_EVENT(ust_tests_demo2, loop,
TP_ARGS(int, anint, int, netint, long *, values,
char *, text, size_t, textlen,
TRACEPOINT_EVENT(ust_tests_demo2, loop,
TP_ARGS(int, anint, int, netint, long *, values,
char *, text, size_t, textlen,
@@
-50,7
+44,7
@@
TRACEPOINT_EVENT(ust_tests_demo2, loop,
ctf_float(double, doublefield, doublearg)
)
)
ctf_float(double, doublefield, doublearg)
)
)
-TRACEPOINT_LOGLEVEL(ust_tests_demo2, loop,
other3
)
+TRACEPOINT_LOGLEVEL(ust_tests_demo2, loop,
TRACE_WARNING
)
#endif /* _TRACEPOINT_UST_TESTS_DEMO2_H */
#endif /* _TRACEPOINT_UST_TESTS_DEMO2_H */
This page took
0.023568 seconds
and
4
git commands to generate.