Move to kernel style SPDX license identifiers
[lttng-ust.git] / tests / compile / hello / ust_tests_hello.h
CommitLineData
c0c0989a
MJ
1/*
2 * SPDX-License-Identifier: MIT
3 *
4 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
5 */
6
a4ada9b8
MD
7#undef TRACEPOINT_PROVIDER
8#define TRACEPOINT_PROVIDER ust_tests_hello
81614639 9
41aaf8a5
MD
10#if !defined(_TRACEPOINT_UST_TESTS_HELLO_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
11#define _TRACEPOINT_UST_TESTS_HELLO_H
81614639 12
4318ae1b 13#include <lttng/tracepoint.h>
f121009f 14#include <stdbool.h>
b4051ad8 15#include <stddef.h>
6e71f8c9 16
7083f0fe 17TRACEPOINT_EVENT(ust_tests_hello, tptest,
63ef2693 18 TP_ARGS(int, anint, int, netint, long *, values,
f121009f
MD
19 char *, text, size_t, textlen,
20 double, doublearg, float, floatarg,
21 bool, boolarg),
e1eb29be
MD
22 TP_FIELDS(
23 ctf_integer(int, intfield, anint)
24 ctf_integer_hex(int, intfield2, anint)
fc829924 25 ctf_integer(long, longfield, anint)
9a396c3c
MD
26 ctf_integer_network(int, netintfield, netint)
27 ctf_integer_network_hex(int, netintfieldhex, netint)
35ebe09b
MD
28 ctf_array_nowrite(long, arrfield1z, values, 3)
29 ctf_array(long, blah, values, 3)
e1eb29be 30 ctf_array(long, arrfield1, values, 3)
f3ec4cb5
MD
31 ctf_array_hex(long, arrfield1_hex, values, 3)
32 ctf_array_network(long, arrfield1_network, values, 3)
33 ctf_array_network_hex(long, arrfield1_network_hex, values, 3)
e1eb29be
MD
34 ctf_array_text(char, arrfield2, text, 10)
35 ctf_sequence(char, seqfield1, text,
36 size_t, textlen)
35ebe09b
MD
37 ctf_sequence_nowrite(char, seqfield1z, text,
38 size_t, textlen)
f3ec4cb5
MD
39 ctf_sequence_hex(char, seqfield1_hex, text,
40 size_t, textlen)
e1eb29be
MD
41 ctf_sequence_text(char, seqfield2, text,
42 size_t, textlen)
48d660d1
MD
43 ctf_sequence_network(long, seqfield_network_3, values,
44 size_t, 3)
e1eb29be
MD
45 ctf_string(stringfield, text)
46 ctf_float(float, floatfield, floatarg)
47 ctf_float(double, doublefield, doublearg)
f121009f 48 ctf_integer(bool, boolfield, boolarg)
4774c8f3 49 ctf_integer_nowrite(int, filterfield, anint)
e1eb29be
MD
50 )
51)
81614639 52
63ef2693
MD
53TRACEPOINT_EVENT(ust_tests_hello, tptest_sighandler,
54 TP_ARGS(),
e1eb29be
MD
55 TP_FIELDS()
56)
81614639 57
d13aca5c 58#endif /* _TRACEPOINT_UST_TESTS_HELLO_H */
81614639 59
9a6b7d22
MD
60#undef TRACEPOINT_INCLUDE
61#define TRACEPOINT_INCLUDE "./ust_tests_hello.h"
ad5c7b82 62
0f6c5917 63/* This part must be outside ifdef protection */
4318ae1b 64#include <lttng/tracepoint-event.h>
This page took 0.036987 seconds and 4 git commands to generate.