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
,
19 TP_FIELDS(ctf_integer(int, value
, value
)))
20 TRACEPOINT_LOGLEVEL(ust_tests_demo
, starting
, TRACE_CRIT
)
23 * Dummy model information, just for example. TODO: we should check if
24 * EMF model URI have some standard format we should follow.
26 TRACEPOINT_MODEL_EMF_URI(ust_tests_demo
,
28 "http://example.com/path_to_model?q=ust_tests_demo:starting")
30 TRACEPOINT_EVENT(ust_tests_demo
,
33 TP_FIELDS(ctf_integer(int, value
, value
)))
34 TRACEPOINT_LOGLEVEL(ust_tests_demo
, done
, TRACE_CRIT
)
36 TRACEPOINT_MODEL_EMF_URI(ust_tests_demo
,
38 "http://example.com/path_to_model?q=ust_tests_demo:done")
40 #endif /* _TRACEPOINT_UST_TESTS_DEMO_H */
42 #undef TRACEPOINT_INCLUDE
43 #define TRACEPOINT_INCLUDE "./ust_tests_demo.h"
45 /* This part must be outside ifdef protection */
46 #include <lttng/tracepoint-event.h>
This page took 0.029061 seconds and 4 git commands to generate.