Add abi0 conflict tests
[lttng-ust.git] / tests / regression / abi0-conflict / ust_tests_hello.h
1 /*
2 * SPDX-License-Identifier: MIT
3 *
4 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
5 */
6
7 #undef LTTNG_UST_TRACEPOINT_PROVIDER
8 #define LTTNG_UST_TRACEPOINT_PROVIDER ust_tests_hello
9
10 #if !defined(_TRACEPOINT_UST_TESTS_HELLO_H) || defined(LTTNG_UST_TRACEPOINT_HEADER_MULTI_READ)
11 #define _TRACEPOINT_UST_TESTS_HELLO_H
12
13 #include <lttng/tracepoint.h>
14 #include <stdbool.h>
15 #include <stddef.h>
16
17 LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello, tptest,
18 LTTNG_UST_TP_ARGS(int, anint, int, netint, long *, values,
19 char *, text, size_t, textlen,
20 double, doublearg, float, floatarg,
21 bool, boolarg),
22 LTTNG_UST_TP_FIELDS(
23 lttng_ust_field_integer(int, intfield, anint)
24 lttng_ust_field_integer_hex(int, intfield2, anint)
25 lttng_ust_field_integer(long, longfield, anint)
26 lttng_ust_field_integer_network(int, netintfield, netint)
27 lttng_ust_field_integer_network_hex(int, netintfieldhex, netint)
28 lttng_ust_field_array_nowrite(long, arrfield1z, values, 3)
29 lttng_ust_field_array(long, blah, values, 3)
30 lttng_ust_field_array(long, arrfield1, values, 3)
31 lttng_ust_field_array_hex(long, arrfield1_hex, values, 3)
32 lttng_ust_field_array_network(long, arrfield1_network, values, 3)
33 lttng_ust_field_array_network_hex(long, arrfield1_network_hex, values, 3)
34 lttng_ust_field_array_text(char, arrfield2, text, 10)
35 lttng_ust_field_sequence(char, seqfield1, text,
36 size_t, textlen)
37 lttng_ust_field_sequence_nowrite(char, seqfield1z, text,
38 size_t, textlen)
39 lttng_ust_field_sequence_hex(char, seqfield1_hex, text,
40 size_t, textlen)
41 lttng_ust_field_sequence_text(char, seqfield2, text,
42 size_t, textlen)
43 lttng_ust_field_sequence_network(long, seqfield_network_3, values,
44 size_t, 3)
45 lttng_ust_field_string(stringfield, text)
46 lttng_ust_field_float(float, floatfield, floatarg)
47 lttng_ust_field_float(double, doublefield, doublearg)
48 lttng_ust_field_integer(bool, boolfield, boolarg)
49 lttng_ust_field_integer_nowrite(int, filterfield, anint)
50 )
51 )
52
53 LTTNG_UST_TRACEPOINT_EVENT(ust_tests_hello, tptest_sighandler,
54 LTTNG_UST_TP_ARGS(),
55 LTTNG_UST_TP_FIELDS()
56 )
57
58 #endif /* _TRACEPOINT_UST_TESTS_HELLO_H */
59
60 #undef LTTNG_UST_TRACEPOINT_INCLUDE
61 #define LTTNG_UST_TRACEPOINT_INCLUDE "./ust_tests_hello.h"
62
63 /* This part must be outside ifdef protection */
64 #include <lttng/tracepoint-event.h>
This page took 0.033148 seconds and 4 git commands to generate.