Pre-assign fixed loglevels
[lttng-ust.git] / tests / demo / ust_tests_demo3.h
index 71241ec6de90c7bc8a84e85ea206e604a3ce0adf..aaa5a0f8f0df71cd666d1743bed532f6640dc5fa 100644 (file)
@@ -23,19 +23,13 @@ extern "C" {
 
 #include <lttng/tracepoint.h>
 
-TRACEPOINT_LOGLEVEL_ENUM(
-       tp_loglevel(test0, 0)
-       tp_loglevel(test1, 1)
-       tp_loglevel(test2, 2)
-)
-
 TRACEPOINT_EVENT(ust_tests_demo3, done,
        TP_ARGS(int, value),
        TP_FIELDS(
                ctf_integer(int, value, value)
        )
 )
-TRACEPOINT_LOGLEVEL(ust_tests_demo3, done, test1)
+TRACEPOINT_LOGLEVEL(ust_tests_demo3, done, TRACE_WARNING)
 
 #endif /* _TRACEPOINT_UST_TESTS_DEMO3_H */
 
This page took 0.022579 seconds and 4 git commands to generate.