Fix: syscall event rule: emission sites not compared in is_equal
[lttng-tools.git] / tests / regression / ust / overlap / demo / ust_tests_demo.h
1 /*
2 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
3 *
4 * SPDX-License-Identifier: MIT
5 *
6 */
7
8 #undef TRACEPOINT_PROVIDER
9 #define TRACEPOINT_PROVIDER ust_tests_demo
10
11 #if !defined(_TRACEPOINT_UST_TESTS_DEMO_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
12 #define _TRACEPOINT_UST_TESTS_DEMO_H
13
14 #include <lttng/tracepoint.h>
15
16 TRACEPOINT_EVENT(ust_tests_demo,
17 starting,
18 TP_ARGS(int, value),
19 TP_FIELDS(ctf_integer(int, value, value)))
20 TRACEPOINT_LOGLEVEL(ust_tests_demo, starting, TRACE_CRIT)
21
22 /*
23 * Dummy model information, just for example. TODO: we should check if
24 * EMF model URI have some standard format we should follow.
25 */
26 TRACEPOINT_MODEL_EMF_URI(ust_tests_demo,
27 starting,
28 "http://example.com/path_to_model?q=ust_tests_demo:starting")
29
30 TRACEPOINT_EVENT(ust_tests_demo,
31 done,
32 TP_ARGS(int, value),
33 TP_FIELDS(ctf_integer(int, value, value)))
34 TRACEPOINT_LOGLEVEL(ust_tests_demo, done, TRACE_CRIT)
35
36 TRACEPOINT_MODEL_EMF_URI(ust_tests_demo,
37 done,
38 "http://example.com/path_to_model?q=ust_tests_demo:done")
39
40 #endif /* _TRACEPOINT_UST_TESTS_DEMO_H */
41
42 #undef TRACEPOINT_INCLUDE
43 #define TRACEPOINT_INCLUDE "./ust_tests_demo.h"
44
45 /* This part must be outside ifdef protection */
46 #include <lttng/tracepoint-event.h>
This page took 0.030964 seconds and 5 git commands to generate.