2 * SPDX-License-Identifier: MIT
4 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
7 #undef TRACEPOINT_PROVIDER
8 #define TRACEPOINT_PROVIDER ust_tests_hello
10 #if !defined(_TRACEPOINT_UST_TESTS_HELLO_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
11 #define _TRACEPOINT_UST_TESTS_HELLO_H
13 #include <lttng/tracepoint.h>
17 TRACEPOINT_EVENT(ust_tests_hello
, tptest
,
18 TP_ARGS(int, anint
, int, netint
, long *, values
,
19 char *, text
, size_t, textlen
,
20 double, doublearg
, float, floatarg
,
23 ctf_integer(int, intfield
, anint
)
24 ctf_integer_hex(int, intfield2
, anint
)
25 ctf_integer(long, longfield
, anint
)
26 ctf_integer_network(int, netintfield
, netint
)
27 ctf_integer_network_hex(int, netintfieldhex
, netint
)
28 ctf_array_nowrite(long, arrfield1z
, values
, 3)
29 ctf_array(long, blah
, values
, 3)
30 ctf_array(long, arrfield1
, values
, 3)
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)
34 ctf_array_text(char, arrfield2
, text
, 10)
35 ctf_sequence(char, seqfield1
, text
,
37 ctf_sequence_nowrite(char, seqfield1z
, text
,
39 ctf_sequence_hex(char, seqfield1_hex
, text
,
41 ctf_sequence_text(char, seqfield2
, text
,
43 ctf_sequence_network(long, seqfield_network_3
, values
,
45 ctf_string(stringfield
, text
)
46 ctf_float(float, floatfield
, floatarg
)
47 ctf_float(double, doublefield
, doublearg
)
48 ctf_integer(bool, boolfield
, boolarg
)
49 ctf_integer_nowrite(int, filterfield
, anint
)
53 TRACEPOINT_EVENT(ust_tests_hello
, tptest_sighandler
,
58 #endif /* _TRACEPOINT_UST_TESTS_HELLO_H */
60 #undef TRACEPOINT_INCLUDE
61 #define TRACEPOINT_INCLUDE "./ust_tests_hello.h"
63 /* This part must be outside ifdef protection */
64 #include <lttng/tracepoint-event.h>
This page took 0.049726 seconds and 4 git commands to generate.