Fix metadata channel creation
[lttng-ust.git] / tests / hello / ust_tests_hello.h
CommitLineData
8d8a24c8 1#undef TRACEPOINT_SYSTEM
41aaf8a5 2#define TRACEPOINT_SYSTEM ust_tests_hello
81614639 3
41aaf8a5
MD
4#if !defined(_TRACEPOINT_UST_TESTS_HELLO_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
5#define _TRACEPOINT_UST_TESTS_HELLO_H
81614639
MD
6
7/*
8 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
a09dac63
PMF
9 *
10 * This library is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Lesser General Public
12 * License as published by the Free Software Foundation; either
13 * version 2.1 of the License, or (at your option) any later version.
14 *
15 * This library is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * Lesser General Public License for more details.
19 *
20 * You should have received a copy of the GNU Lesser General Public
21 * License along with this library; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23 */
24
93d0f2ea 25#include <ust/tracepoint.h>
6e71f8c9 26
8d8a24c8 27TRACEPOINT_EVENT(ust_tests_hello_tptest,
5dba5937 28 TP_PROTO(int anint, long *values,
513fc97e
MD
29 char *text, size_t textlen,
30 double doublearg, float floatarg),
31 TP_ARGS(anint, values, text, textlen,
32 doublearg, floatarg),
1dbfff0c
MD
33 TP_FIELDS(
34 ctf_integer(int, intfield, anint)
41aaf8a5
MD
35 ctf_integer_hex(int, intfield2, anint)
36 ctf_integer_network(int, intfield3, anint)
37 ctf_integer_network_hex(int, intfield4, anint)
775e7fd8 38 ctf_array(long, arrfield1, values, 3)
5dba5937
MD
39 ctf_array_text(char, arrfield2, text, 10)
40 ctf_sequence(char, seqfield1, text,
41 size_t, textlen)
42 ctf_sequence_text(char, seqfield2, text,
43 size_t, textlen)
44 ctf_string(stringfield, text)
513fc97e
MD
45 ctf_float(float, floatfield, floatarg)
46 ctf_float(double, doublefield, doublearg)
3d249a07
MD
47 )
48 )
81614639 49
8d8a24c8 50TRACEPOINT_EVENT_NOARGS(ust_tests_hello_tptest_sighandler,
3d249a07
MD
51 TP_FIELDS()
52 )
81614639 53
8d8a24c8 54#endif /* _TRACEPOINT_TP_H */
81614639 55
8d8a24c8
MD
56#undef TRACEPOINT_INCLUDE_PATH
57#define TRACEPOINT_INCLUDE_PATH .
58#undef TRACEPOINT_INCLUDE_FILE
41aaf8a5 59#define TRACEPOINT_INCLUDE_FILE ust_tests_hello
ad5c7b82 60
81614639 61/* This part must be outside protection */
8d8a24c8 62#include <ust/tracepoint-event.h>
This page took 0.027386 seconds and 4 git commands to generate.