2 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
4 * SPDX-License-Identifier: MIT
8 #undef TRACEPOINT_PROVIDER
9 #define TRACEPOINT_PROVIDER tp
11 #if !defined(_TRACEPOINT_TP_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
12 #define _TRACEPOINT_TP_H
14 #include <lttng/tracepoint.h>
16 TRACEPOINT_EVENT(tp
, tptest1
,
17 TP_ARGS(int, anint
, int, netint
, long *, values
,
18 char *, text
, size_t, textlen
,
19 double, doublearg
, float, floatarg
),
21 ctf_integer(int, intfield
, anint
)
22 ctf_integer_hex(int, intfield2
, anint
)
23 ctf_integer(long, longfield
, anint
)
24 ctf_integer_network(int, netintfield
, netint
)
25 ctf_integer_network_hex(int, netintfieldhex
, netint
)
26 ctf_array(long, arrfield1
, values
, 3)
27 ctf_array_text(char, arrfield2
, text
, 10)
28 ctf_sequence(char, seqfield1
, text
, size_t, textlen
)
29 ctf_sequence_text(char, seqfield2
, text
, size_t, textlen
)
30 ctf_string(stringfield
, text
)
31 ctf_float(float, floatfield
, floatarg
)
32 ctf_float(double, doublefield
, doublearg
)
35 TRACEPOINT_EVENT(tp
, tptest2
,
36 TP_ARGS(int, anint
, int, netint
, long *, values
,
37 char *, text
, size_t, textlen
,
38 double, doublearg
, float, floatarg
),
40 ctf_integer(int, intfield
, anint
)
41 ctf_integer_hex(int, intfield2
, anint
)
42 ctf_integer(long, longfield
, anint
)
43 ctf_integer_network(int, netintfield
, netint
)
44 ctf_integer_network_hex(int, netintfieldhex
, netint
)
45 ctf_array(long, arrfield1
, values
, 3)
46 ctf_array_text(char, arrfield2
, text
, 10)
47 ctf_sequence(char, seqfield1
, text
, size_t, textlen
)
48 ctf_sequence_text(char, seqfield2
, text
, size_t, textlen
)
49 ctf_string(stringfield
, text
)
50 ctf_float(float, floatfield
, floatarg
)
51 ctf_float(double, doublefield
, doublearg
)
54 TRACEPOINT_EVENT(tp
, tptest3
,
55 TP_ARGS(int, anint
, int, netint
, long *, values
,
56 char *, text
, size_t, textlen
,
57 double, doublearg
, float, floatarg
),
59 ctf_integer(int, intfield
, anint
)
60 ctf_integer_hex(int, intfield2
, anint
)
61 ctf_integer(long, longfield
, anint
)
62 ctf_integer_network(int, netintfield
, netint
)
63 ctf_integer_network_hex(int, netintfieldhex
, netint
)
64 ctf_array(long, arrfield1
, values
, 3)
65 ctf_array_text(char, arrfield2
, text
, 10)
66 ctf_sequence(char, seqfield1
, text
, size_t, textlen
)
67 ctf_sequence_text(char, seqfield2
, text
, size_t, textlen
)
68 ctf_string(stringfield
, text
)
69 ctf_float(float, floatfield
, floatarg
)
70 ctf_float(double, doublefield
, doublearg
)
73 TRACEPOINT_EVENT(tp
, tptest4
,
74 TP_ARGS(int, anint
, int, netint
, long *, values
,
75 char *, text
, size_t, textlen
,
76 double, doublearg
, float, floatarg
),
78 ctf_integer(int, intfield
, anint
)
79 ctf_integer_hex(int, intfield2
, anint
)
80 ctf_integer(long, longfield
, anint
)
81 ctf_integer_network(int, netintfield
, netint
)
82 ctf_integer_network_hex(int, netintfieldhex
, netint
)
83 ctf_array(long, arrfield1
, values
, 3)
84 ctf_array_text(char, arrfield2
, text
, 10)
85 ctf_sequence(char, seqfield1
, text
, size_t, textlen
)
86 ctf_sequence_text(char, seqfield2
, text
, size_t, textlen
)
87 ctf_string(stringfield
, text
)
88 ctf_float(float, floatfield
, floatarg
)
89 ctf_float(double, doublefield
, doublearg
)
92 TRACEPOINT_EVENT(tp
, tptest5
,
93 TP_ARGS(int, anint
, int, netint
, long *, values
,
94 char *, text
, size_t, textlen
,
95 double, doublearg
, float, floatarg
),
97 ctf_integer(int, intfield
, anint
)
98 ctf_integer_hex(int, intfield2
, anint
)
99 ctf_integer(long, longfield
, anint
)
100 ctf_integer_network(int, netintfield
, netint
)
101 ctf_integer_network_hex(int, netintfieldhex
, netint
)
102 ctf_array(long, arrfield1
, values
, 3)
103 ctf_array_text(char, arrfield2
, text
, 10)
104 ctf_sequence(char, seqfield1
, text
, size_t, textlen
)
105 ctf_sequence_text(char, seqfield2
, text
, size_t, textlen
)
106 ctf_string(stringfield
, text
)
107 ctf_float(float, floatfield
, floatarg
)
108 ctf_float(double, doublefield
, doublearg
)
112 #endif /* _TRACEPOINT_TP_H */
114 #undef TRACEPOINT_INCLUDE_FILE
115 #define TRACEPOINT_INCLUDE_FILE ./tp.h
117 /* This part must be outside ifdef protection */
118 #include <lttng/tracepoint-event.h>
This page took 0.042664 seconds and 5 git commands to generate.