Tests: Add test to check shared-memory FD leaks after relayd dies
[lttng-tools.git] / tests / regression / ust / linking / ust_tests_demo.h
CommitLineData
9d16b343
MJ
1/*
2 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
3 *
4 * SPDX-License-Identifier: MIT
5 *
6 */
7
91c75285
JG
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
91c75285
JG
14#include <lttng/tracepoint.h>
15
28f23191
JG
16TRACEPOINT_EVENT(ust_tests_demo,
17 starting,
18 TP_ARGS(int, value),
19 TP_FIELDS(ctf_integer(int, value, value)))
91c75285
JG
20TRACEPOINT_LOGLEVEL(ust_tests_demo, starting, TRACE_CRIT)
21
28f23191
JG
22TRACEPOINT_EVENT(ust_tests_demo,
23 done,
24 TP_ARGS(int, value),
25 TP_FIELDS(ctf_integer(int, value, value)))
91c75285
JG
26TRACEPOINT_LOGLEVEL(ust_tests_demo, done, TRACE_CRIT)
27
28#endif /* _TRACEPOINT_UST_TESTS_DEMO_H */
29
30#undef TRACEPOINT_INCLUDE
31#define TRACEPOINT_INCLUDE "./ust_tests_demo.h"
32
33/* This part must be outside ifdef protection */
34#include <lttng/tracepoint-event.h>
This page took 0.058491 seconds and 4 git commands to generate.