2 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
4 * SPDX-License-Identifier: MIT
8 #undef TRACEPOINT_PROVIDER
9 #define TRACEPOINT_PROVIDER ust_tests_demo
11 #if !defined(_TRACEPOINT_UST_TESTS_DEMO_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
12 #define _TRACEPOINT_UST_TESTS_DEMO_H
14 #include <lttng/tracepoint.h>
16 TRACEPOINT_EVENT(ust_tests_demo
, starting
,
19 ctf_integer(int, value
, value
)
22 TRACEPOINT_LOGLEVEL(ust_tests_demo
, starting
, TRACE_CRIT
)
25 * Dummy model information, just for example. TODO: we should check if
26 * EMF model URI have some standard format we should follow.
28 TRACEPOINT_MODEL_EMF_URI(ust_tests_demo
, starting
,
29 "http://example.com/path_to_model?q=ust_tests_demo:starting")
31 TRACEPOINT_EVENT(ust_tests_demo
, done
,
34 ctf_integer(int, value
, value
)
37 TRACEPOINT_LOGLEVEL(ust_tests_demo
, done
, TRACE_CRIT
)
39 TRACEPOINT_MODEL_EMF_URI(ust_tests_demo
, done
,
40 "http://example.com/path_to_model?q=ust_tests_demo:done")
42 #endif /* _TRACEPOINT_UST_TESTS_DEMO_H */
44 #undef TRACEPOINT_INCLUDE
45 #define TRACEPOINT_INCLUDE "./ust_tests_demo.h"
47 /* This part must be outside ifdef protection */
48 #include <lttng/tracepoint-event.h>
This page took 0.035553 seconds and 5 git commands to generate.