Fix: syscall event rule: emission sites not compared in is_equal
[lttng-tools.git] / tests / utils / testapp / gen-ust-nevents / tp.h
1 /*
2 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
3 *
4 * SPDX-License-Identifier: MIT
5 *
6 */
7
8 #undef TRACEPOINT_PROVIDER
9 #define TRACEPOINT_PROVIDER tp
10
11 #if !defined(_TRACEPOINT_TP_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
12 #define _TRACEPOINT_TP_H
13
14 #include <lttng/tracepoint.h>
15
16 TRACEPOINT_EVENT(
17 tp,
18 tptest1,
19 TP_ARGS(int,
20 anint,
21 int,
22 netint,
23 long *,
24 values,
25 char *,
26 text,
27 size_t,
28 textlen,
29 double,
30 doublearg,
31 float,
32 floatarg),
33 TP_FIELDS(ctf_integer(int, intfield, anint) ctf_integer_hex(
34 int, intfield2, anint) ctf_integer(long, longfield, anint)
35 ctf_integer_network(int, netintfield, netint) ctf_integer_network_hex(
36 int, netintfieldhex, netint) ctf_array(long, arrfield1, values, 3)
37 ctf_array_text(char, arrfield2, text, 10) ctf_sequence(
38 char, seqfield1, text, size_t, textlen)
39 ctf_sequence_text(char, seqfield2, text, size_t, textlen)
40 ctf_string(stringfield, text)
41 ctf_float(float, floatfield, floatarg)
42 ctf_float(double,
43 doublefield,
44 doublearg)))
45 TRACEPOINT_EVENT(
46 tp,
47 tptest2,
48 TP_ARGS(int,
49 anint,
50 int,
51 netint,
52 long *,
53 values,
54 char *,
55 text,
56 size_t,
57 textlen,
58 double,
59 doublearg,
60 float,
61 floatarg),
62 TP_FIELDS(ctf_integer(int, intfield, anint) ctf_integer_hex(
63 int, intfield2, anint) ctf_integer(long, longfield, anint)
64 ctf_integer_network(int, netintfield, netint) ctf_integer_network_hex(
65 int, netintfieldhex, netint) ctf_array(long, arrfield1, values, 3)
66 ctf_array_text(char, arrfield2, text, 10) ctf_sequence(
67 char, seqfield1, text, size_t, textlen)
68 ctf_sequence_text(char, seqfield2, text, size_t, textlen)
69 ctf_string(stringfield, text)
70 ctf_float(float, floatfield, floatarg)
71 ctf_float(double,
72 doublefield,
73 doublearg)))
74 TRACEPOINT_EVENT(
75 tp,
76 tptest3,
77 TP_ARGS(int,
78 anint,
79 int,
80 netint,
81 long *,
82 values,
83 char *,
84 text,
85 size_t,
86 textlen,
87 double,
88 doublearg,
89 float,
90 floatarg),
91 TP_FIELDS(ctf_integer(int, intfield, anint) ctf_integer_hex(
92 int, intfield2, anint) ctf_integer(long, longfield, anint)
93 ctf_integer_network(int, netintfield, netint) ctf_integer_network_hex(
94 int, netintfieldhex, netint) ctf_array(long, arrfield1, values, 3)
95 ctf_array_text(char, arrfield2, text, 10) ctf_sequence(
96 char, seqfield1, text, size_t, textlen)
97 ctf_sequence_text(char, seqfield2, text, size_t, textlen)
98 ctf_string(stringfield, text)
99 ctf_float(float, floatfield, floatarg)
100 ctf_float(double,
101 doublefield,
102 doublearg)))
103 TRACEPOINT_EVENT(
104 tp,
105 tptest4,
106 TP_ARGS(int,
107 anint,
108 int,
109 netint,
110 long *,
111 values,
112 char *,
113 text,
114 size_t,
115 textlen,
116 double,
117 doublearg,
118 float,
119 floatarg),
120 TP_FIELDS(ctf_integer(int, intfield, anint) ctf_integer_hex(
121 int, intfield2, anint) ctf_integer(long, longfield, anint)
122 ctf_integer_network(int, netintfield, netint) ctf_integer_network_hex(
123 int, netintfieldhex, netint) ctf_array(long, arrfield1, values, 3)
124 ctf_array_text(char, arrfield2, text, 10) ctf_sequence(
125 char, seqfield1, text, size_t, textlen)
126 ctf_sequence_text(char, seqfield2, text, size_t, textlen)
127 ctf_string(stringfield, text)
128 ctf_float(float, floatfield, floatarg)
129 ctf_float(double,
130 doublefield,
131 doublearg)))
132 TRACEPOINT_EVENT(
133 tp,
134 tptest5,
135 TP_ARGS(int,
136 anint,
137 int,
138 netint,
139 long *,
140 values,
141 char *,
142 text,
143 size_t,
144 textlen,
145 double,
146 doublearg,
147 float,
148 floatarg),
149 TP_FIELDS(ctf_integer(int, intfield, anint) ctf_integer_hex(
150 int, intfield2, anint) ctf_integer(long, longfield, anint)
151 ctf_integer_network(int, netintfield, netint) ctf_integer_network_hex(
152 int, netintfieldhex, netint) ctf_array(long, arrfield1, values, 3)
153 ctf_array_text(char, arrfield2, text, 10) ctf_sequence(
154 char, seqfield1, text, size_t, textlen)
155 ctf_sequence_text(char, seqfield2, text, size_t, textlen)
156 ctf_string(stringfield, text)
157 ctf_float(float, floatfield, floatarg)
158 ctf_float(double,
159 doublefield,
160 doublearg)))
161
162 #endif /* _TRACEPOINT_TP_H */
163
164 #undef TRACEPOINT_INCLUDE
165 #define TRACEPOINT_INCLUDE "./tp.h"
166
167 /* This part must be outside ifdef protection */
168 #include <lttng/tracepoint-event.h>
This page took 0.033321 seconds and 5 git commands to generate.