1 #undef TRACEPOINT_SYSTEM
2 #define TRACEPOINT_SYSTEM ust_tests_hello
4 #if !defined(_TRACEPOINT_UST_TESTS_HELLO_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
5 #define _TRACEPOINT_UST_TESTS_HELLO_H
12 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
14 * This library is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU Lesser General Public
16 * License as published by the Free Software Foundation; version 2.1 of
19 * This library is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 * Lesser General Public License for more details.
24 * You should have received a copy of the GNU Lesser General Public
25 * License along with this library; if not, write to the Free Software
26 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
29 #include <lttng/tracepoint.h>
31 TRACEPOINT_EVENT(ust_tests_hello
, tptest
,
32 TP_PROTO(int anint
, int netint
, long *values
,
33 char *text
, size_t textlen
,
34 double doublearg
, float floatarg
),
35 TP_ARGS(anint
, netint
, values
, text
, textlen
,
38 ctf_integer(int, intfield
, anint
)
39 ctf_integer_hex(int, intfield2
, anint
)
40 ctf_integer(long, longfield
, anint
)
41 ctf_integer_network(int, netintfield
, netint
)
42 ctf_integer_network_hex(int, netintfieldhex
, netint
)
43 ctf_array(long, arrfield1
, values
, 3)
44 ctf_array_text(char, arrfield2
, text
, 10)
45 ctf_sequence(char, seqfield1
, text
,
47 ctf_sequence_text(char, seqfield2
, text
,
49 ctf_string(stringfield
, text
)
50 ctf_float(float, floatfield
, floatarg
)
51 ctf_float(double, doublefield
, doublearg
)
55 TRACEPOINT_EVENT_NOARGS(ust_tests_hello
, tptest_sighandler
,
59 #endif /* _TRACEPOINT_UST_TESTS_HELLO_H */
61 #undef TRACEPOINT_INCLUDE_PATH
62 #define TRACEPOINT_INCLUDE_PATH .
63 #undef TRACEPOINT_INCLUDE_FILE
64 #define TRACEPOINT_INCLUDE_FILE ust_tests_hello
66 /* This part must be outside protection */
67 #include <lttng/tracepoint-event.h>
This page took 0.052552 seconds and 4 git commands to generate.