#include <lttng/tracepoint.h>
-TRACEPOINT_LOGLEVEL_ENUM(
- tp_loglevel(critical, 0)
- tp_loglevel(warning, 1)
- tp_loglevel(debug, 2)
-)
-
TRACEPOINT_EVENT(ust_tests_demo, starting,
TP_ARGS(int, value),
TP_FIELDS(
ctf_integer(int, value, value)
)
)
-TRACEPOINT_LOGLEVEL(ust_tests_demo, starting, critical)
+TRACEPOINT_LOGLEVEL(ust_tests_demo, starting, TRACE_CRIT)
TRACEPOINT_EVENT(ust_tests_demo, done,
TP_ARGS(int, value),
ctf_integer(int, value, value)
)
)
-TRACEPOINT_LOGLEVEL(ust_tests_demo, done, critical)
+TRACEPOINT_LOGLEVEL(ust_tests_demo, done, TRACE_CRIT)
#endif /* _TRACEPOINT_UST_TESTS_DEMO_H */